1 Answer
- Newest
- Most votes
- Most comments
1
You have 2 ways of doing it:
- You can clone your existing instance. Going to EC2, you can create an AMI from the cloud9 instance and launch a new instance from it. Then, from cloud9 you create a new environment to connect to the existing instance just launched.
- You can bootstrap your instance. Knowing what you have installed, you can have a script which will configure the instance based on the tools you need. Here an example: https://github.com/aws-samples/aws-cloud9-bootstrapping-example
answered 2 years ago
Relevant content
- Accepted Answerasked 7 months ago
- asked 22 days ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 8 months ago
Thank you! Yes, cloning the existing EC2 instance and manually configuring a new Cloud9 environment to use it worked. It was relatively convoluted (I had to SSH into the new EC2 instance to provide the public key for example), and I had to rely on this guide: https://towardsdatascience.com/creating-aws-ec2-and-connecting-it-with-aws-cloud9-ide-and-aws-s3-a6313aa82ec
I wish it were just a button to copy a Cloud9 environment, but it must not be a common enough need to warrant building (I assume)