Welcome to the "VS Code in the Cloud" repository! π©οΈ Tired of running out of resources on your local machine? Want to show off your cool coding skills by hosting your own web-based VS Code server? You've come to the right place! π―
This script automates the process of setting up VS Code Server on an Ubuntu EC2 instance and even includes self-signed SSL for that sweet, sweet "secure" green lock. π‘οΈπ
This bash script will:
- Update your system packages because nobody likes outdated software. π
- Install all the cool tools you need (like
curl,wget, andgit). π οΈ - Download and install the latest version of VS Code Server directly from the official GitHub repo. π₯οΈ
- Generate self-signed SSL certificates because let's face it, we're secure like that. π§ββοΈβ¨
- Configure your server with a password (
changeme!β yes, you should change it). π€« - Automatically start VS Code Server for you every time you log in. π
- Set up private and public IPs as environment variables because we're organized like that. ποΈ
- Adjust system limits so you can watch all the files you want without breaking a sweat. π
- Provide you with the access link to your web-based VS Code, complete with a
totallyprofessional warning about self-signed certificates. π
git clone https://github.com/andrewbrimusu/ec2_scripts.git
cd ec2_scripts
chmod +x vs_code_setup.sh
./vs_code_setup.sh