Provision and configure development environment on AWS EC2 instance
- Deploy the Devmachine
terraform apply
- When finished you will see ip address of the Devmachine
ip_address = 54.174.190.232
- Connect to it using your key:
ssh -i ~/shuraosipov-dev-machine.pem ec2-user@54.174.190.232
- Go to an app folder:
cd myapp
source .env/bin/activate
pip install -r requirements.txt
- Check that all requirements are met and cdk works fine:
cdk ls
- Deploy the app:
cdk deploy