In this chapter, we started with the basics of working with AWS. Amazon provides a free-tier to experiment with their cloud. Once we sign up for the free-tier, we should get access to the AWS console and be able to create security credentials. These security credentials are required for applications to access AWS.
We then saw how a tool such as Terraform can provision cloud resources. We picked AWS EC2 as our choice to deploy an API. We wrote a Terraform script to provision an EC2 instance, along with a key pair. This key pair was required to log in to the instance.
Once we were able to log in to the EC2 instance, we installed all the dependencies for our API server. We reused the project code from Chapter 12, Containerizing REST Services for Deployment, where we prepared an API ecosystem. We successfully deployed the books API from the EC2 instance.
A simple API server...