2 Answers
- Newest
- Most votes
- Most comments
1
Access to Cloud9 has been deprecated. Existing users can still use it, but it is closed to new users.
See more in this blog post, where AWS also suggests alternatives https://aws.amazon.com/blogs/devops/how-to-migrate-from-aws-cloud9-to-aws-ide-toolkits-or-aws-cloudshell/
0
I'm going through the "Getting Started with Amazon Textract: Tutorials" lesson and in there I have to use Cloud9 with the following script:
unzip "/home/ec2-user/environment/amazon-textract-idp-cdk-stack-samples.zip" -d "/home/ec2-user/environment"
chmod 755 /home/ec2-user/environment/amazon-textract-idp-cdk-stack-samples
chown -R ec2-user:ec2-user /home/ec2-user/environment/amazon-textract-idp-cdk-stack-samples
python3 -m venv .venv
source .venv/bin/activate
cd amazon-textract-idp-cdk-stack-samples/
pip install -r requirements.txt
cdk bootstrap
cdk synth SimpleSyncWorkflow
cdk deploy SimpleSyncWorkflow --require-approval never
cdk synth SimpleAsyncWorkflow
cdk deploy SimpleAsyncWorkflow --require-approval never
Since Cloud9 is deprecated, luckily I'm using a MacBook so I can run most of this locally in my Terminal. But just in case you are missing some packages, here are references:
- https://www.geeksforgeeks.org/download-and-install-python-3-latest-version/ to install Python 3
- https://docs.aws.amazon.com/cdk/v2/guide/getting_started.html to install AWS CDK CLI
answered 10 months ago
Relevant content
- asked 2 months ago
