Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/augustoscher/curso-aws-serverless-apps

Serverless Apps with AWS
https://github.com/augustoscher/curso-aws-serverless-apps

apollo-server apollo-server-lambda aws-api-gateway aws-aurora aws-cloudfront aws-dynamodb aws-lambda aws-rekognition aws-s3 aws-sqs aws-translate ecs-fargate graphql node-streams nodejs serverless-framework

Last synced: 1 day ago
JSON representation

Serverless Apps with AWS

Awesome Lists containing this project

README

        

# AWS Serverless Apps
Serverless Apps with AWS

Good points:

- Não precisa gerenciar Clusters;
- Segurança entre redes;
- Autoscaling;
- Gerenciamento de memória e disco;
- Tem dezenas de serviços à disposição.
- Podem ser containers serverless e executar funções de longa duração;
- Rodar e testar localmente via docker (localstack, serverless-offline e nodemon)

Disclaimers:

- Cold Start
- Cloud dependency

## Setup

Set node version:
```
nvm use 18
```

Install Serverless framework globally or in some application:

```
yarn global add serverless
```

Export AWS credentials:

```
export AWS_ACCESS_KEY_ID=
export AWS_SECRET_ACCESS_KEY=
```

Deploy your service:
```
serverless deploy
```

### Image Analysis with Rekognition

https://fyysud98b0.execute-api.us-east-1.amazonaws.com/dev/analyse?imageUrl=https://cdn.pixabay.com/photo/2015/02/12/10/30/dog-633562_1280.jpg

```
A imagem tem
98.55% - Cão
98.55% - animal de estimação
98.55% - caninos
98.55% - mamíferos
98.55% - animais
98.28% - roupas
98.28% - vestuário
88.52% - sapatos
88.52% - calçados
```