In this entry I would like to share an example to show how to deploy a serverless API service in AWS using the CodePipeline.
In this scenario there is an static web application that is consuming the published API to upload images via Java lambda function and get a presigned url to grant temporal access to the file stored in S3, in this way we can keep the bucket as private and provide temporal access to the files.
The next diagram shows the architecture for this solution:
As you can see, there is a Cloud9 development environment and CI/CD pipeline which is triggered by CodeCommit when the changes are pushed to the repository, then start to build the application with CodeBuild, finally the API is published to be consumed by the web site.
So let’s get started.
Seguir leyendo