Size: 1082
Comment:
|
Size: 1207
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 28: | Line 28: |
* PATH=$PATH:/usr/sbin:~/.local/bin in ~/.bashrc * docker exec -it silly_greider bash * awslocal s3api list-buckets |
AWS
Amazon Web Services
Serverless blog web application architecture
https://s3.amazonaws.com/aws-lambda-serverless-web-refarch/RefArch_BlogApp_Serverless.png
- Amazon Route 53 (routes to specific places based on region)
Amazon CloudFront (deliver static content per region hosted inside S3)
- Amazon Simple Storage Service (S3)
- Amazon Cognito (Authentication and authorization)
- Amazon API Gateway (routes requests to backend logic)
- AWS Lambda (backend business logic)
- AWS DynamoDB (managed DB)
Localstack in Debian
- sudo apt install python3-pip
- sudo apt install python-pip
- pip3 install localstack
- pip install localstack
- .local/bin/localstack start
- docker run --rm -it -p 4566:4566 -p 4571:4571 localstack/localstack
- pip3 install awscli
- pip3 install awscli-local
- .local/bin/awslocal kinesis list-streams
- .local/bin/awslocal s3api list-buckets
PATH=$PATH:/usr/sbin:~/.local/bin in ~/.bashrc
- docker exec -it silly_greider bash
- awslocal s3api list-buckets