81. Remote VSCode with EC2 and Cloud9
AWS Bites
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 (https://fourtheorem.com). fourTheorem is an AWS Consulting Partner offering training, cloud migration, and modern application architecture.
๐ Chapters:
00:00 Intro 01:11 Why would you want to remotely develop using VSCode? 01:33 Training & Demos: building isolated development environments 01:59 Consistent development environment for a distributed development team 02:18 Giving controlled access to specific resources on a private cloud 02:40 How do we set up Cloud9 and connect from VSCode using SSM? 06:48 Alternative option: Using VSCode tunnels 09:00 Advantages and concerns with VSCode tunnels 10:34 Closing notes
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:
- Apple Podcasts: https://podcasts.apple.com/us/podcast/aws-bites/id1585489017
- Spotify: https://open.spotify.com/show/3Lh7PzqBFV6yt5WsTAmO5q
- Google: https://podcasts.google.com/feed/aHR0cHM6Ly9hbmNob3IuZm0vcy82YTMzMTJhMC9wb2RjYXN0L3Jzcw==
- Breaker: https://www.breaker.audio/aws-bites
- RSS: โโhttps://anchor.fm/s/6a3312a0/podcast/rss
Do you have any AWS questions you would like us to address? Leave a comment here or connect with us on Twitter:
#AWS #cloud9 #vscode ... https://www.youtube.com/watch?v=gRl-D0pBWrw
79972618 Bytes