DEV Community

AWS Bites

81. Remote VSCode with EC2 and Cloud9

Are you tired of being stuck in your local development environment? Do you dream of coding from a beach in Sicily? Well, get ready to make those dreams a reality with this episode of AWS Bites!

Today we are here to show you how to use VSCode to develop against a remote Cloud9 instance on AWS.

You'll learn how to edit in VSCode instead of using the Cloud9 editor, so you can take advantage of the power of the cloud and code from anywhere while staying in the comfort of your favourite code editor.

We'll cover two ways to edit in VSCode: with SSM and with VSCode Tunnels. With these setups, you can code from home, a coffee shop, or even a beach in Sicily (if you like granitas and sunshine). Plus, you'll get to use that fancy iPad you spent all that money on (also) for coding!

Get comfortable and let’s learn how to set up our next remote coding environment!


💰 SPONSORS 💰

AWS Bites is sponsored by ⁠⁠⁠⁠⁠⁠⁠⁠fourTheorem⁠⁠⁠⁠⁠⁠⁠⁠, an AWS Consulting Partner offering training, cloud migration, and modern application architecture.


In this episode, we mentioned the following resources:

  • Visual Studio Code Server: https://code.visualstudio.com/docs/remote/vscode-server
  • Our previous episode "When do you need a bastion host?": https://awsbites.com/78-when-do-you-need-a-bastion-host/
  • Instructions to set up your own VS Code integration with Cloud9: https://gist.github.com/lmammino/13f8ae95b222919c51b42153bfc71637
  • Our live series stream "Coding a serverless file transfer app on AWS": https://www.youtube.com/playlist?list=PLAWXFhe0N1vI1_z-06EzJ22pz95_gBrId


You can listen to AWS Bites wherever you get your podcasts:

Episode source