Ansel Elgort seemed to have a blast on Friday night with his good pal.

The actor took to his Instagram page to post a photo of himself having a good time with singer Joe Jonas. Elgort has headphones on looking like a DJ as he places his hands on Jonas' shoulders and they both have big smiles on their faces.

Clearly, these two are thrilled to see each other. In the caption, Elgort referred to Jonas as his "homie."

 When the homies roll through the party!!! @joejonas @gq

A photo posted by anselelgort (@anselelgort) on Jun 3, 2016 at 3:14pm PDT

In a previous interview with Teen Vogue, Elgort pointed out he started working as a DJ and producing music since he was a senior in high school, and it was mainly just for fun.

"My friend taught me on a computer with Traktor DJ, and I would play for classmates at parties," he said. "But I really fell in love with dance music when I was 18. It took a year before I made anything I was really happy with."

The 22-year-old also had a pretty interesting name for himself that he's not totally proud of.

"I was so bad. I called myself 'Hanzolo,' but when I told a pal of mine at school, he was like, 'Dude, that's the supidest name ever. You have to change that. Why don't you just call yourself 'Ansolo?' And I was like, 'Oh, word. That's cooler.' Hanzolo just sounds stupid."

One of Elgort's most iconic films is The Fault in Our Stars, which came with lovely memories.

"I loved walking around Amsterdam," he said. "You don't hear that much. When people talk about it, they talk about smoking weed, which is stupid. It's a gorgeous place."

Elgort is also known for the Divergent series and the remake of Carrie.

Tags: Ansel Elgort