Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
mongorestore --uri=<target DB URI> --drop path-to-backup-folder/

AWS

Lambda

In order to allow Lambdas to access public Internet, for For every Lambda, make sure to do the following configuration in the Configuration tab.

  • In Configuration - VPC, use cu-cals-johnson-lab-vpc for VPC and use both cu-cals-johnson-lab-subnet-private-1

...

  • and cu-cals-johnson-lab-subnet-private-2 for subnets. This

...

  • enables the Lambda to access public Internet.
  • In Configuration - Permissions, use lambda-ex as the Execution Role.

EC2

The EC2 instances used for deploying backend services are created following the procedure starting from step 3 of this tutorial (https://medium.com/@umairnadeem/deploy-to-aws-using-docker-compose-simple-210d71f43e67) with the following modifications.

...