-
Node.js
- Express
-
AWS
- Lamda
- Function: watch-inventory
- DynamoDB
- Table: watch-inventory
- API Gateway
- Stages: prod
- API: inventory-api
- Identity and Access Management (IAM)
- Role: newInventory-role, associated with two policies
- AmazonDynamoDBFullAccess
- CloudWatchLogsFullAccess
- Role: newInventory-role, associated with two policies
- CloudWatch
- CodePipeline
- CodeDeploy
- EC2, ec2-16-170-225-41.eu-north-1.compute.amazonaws.com:3000
- Lamda
-
Postman, https://documenter.getpostman.com/view/17317918/UVJZoduC
EC2 script on creation to install the CodeDeploy Agent:
#!/bin/bash
sudo yum -y update
sudo yum -y install ruby
sudo yum -y install wget
cd /home/ec2-user
wget https://aws-codedeploy-eu-north-1.s3.amazonaws.com/latest/install
sudo chmod +x ./install
sudo ./install auto