Hundreds lined the streets as the Band of the Royal Regiment of Scotland and Royal Air Force Central Scotland Pipes and Drums led a parade along George Street, with Legion Scotland standard bearers and veterans taking part.
Cllr Cameron addressed the crowd in St Andrew Square, before a concert featuring both bands, Legion Scotland Sweetheart Amy Hawthorn, Fiona Liddle, Jack Hinks and Maria Townley.
Edinburgh fire: Blaze breaks out at Franco's fish and chip shop in Newington
Ladies Day at Musselburgh Races: Children's nurse crowned most stylish woman
Edinburgh crime news: Teenage boy arrested after riding motorbike in a 'dangerous manner in a public place'
Edinburgh fire: ‘I knew I had to just get out’: Residents evacuated as fire breaks out in Newington area of Edinburgh
Crime: Teenage thug who fathered a child during sentence is back behind bars
The event, formerly known as “Veterans Day” was a chance to show appreciation and support for the work of the Armed Forces community. The city’s events were organised by Legion Scotland in partnership with the city council.
Cllr Cameron, whose father and uncle were in the Armed Forces, said: “Today’s event brought back thoughts and fond memories of family members and loved ones who have served.
“It gives Edinburgh the opportunity to show support for the men and women who make up the Armed Forces community, recognising and celebrating the outstanding contribution of those who serve and have served.
“Armed Forces Day acknowledges the personal sacrifices they make and have made to defend the UK and its interests. All of us owe an incredible debt of gratitude to these brave men and women who are the ultimate protectors of our peace and security and our way of life.”
Dr Claire Armstrong, Chief Executive of Legion Scotland, said: “It was wonderful to see so many people coming out to show their support for all those who have served, past and present, and their families. After two difficult years, we were very pleased to return to normal and receive such a warm welcome in the city.
“I’d like to thank the City of Edinburgh Council for their support, and everyone else who helped to make this day a success.”
The Duchess of Cambridge paid tribute on social media to “all the brave men and women” in the military on Armed Forces Day, thanking the armed forces and their families for the “sacrifice” they make to keep the UK safe.
Scottish Secretary Alister Jack has paid tribute to military personnel north of the border on Armed Forces Day.
The celebration, taking place on Saturday, is in its 14th year and parades were held in Edinburgh and Aberdeen.
In a statement to mark the occasion, Mr Jack said: “It’s fantastic to see the whole country unite for Armed Forces Day, a culmination of a week of activities to recognise the selfless service of our extraordinary UK military.
“It’s right that we celebrate and say thanks to our much-cherished community of service personnel, reserves, veterans, cadets and families for their unwavering commitment in helping keep us safe.
“It was a pleasure to meet representatives of the Armed Forces at the Royal Highland Show in Edinburgh earlier this week and on behalf of the whole of the country, I would like to offer heartfelt thanks to them all.”