AWS platform deployment options
Of the various services offered by the AWS platform, we will be focusing this chapter on covering some deployment options specifically targeted for the kind of web APIs that we have been using as an example. We will therefore cover the deployment into:
- AWS Elastic Beanstalk
- AWS Elastic Container Service
- AWS Lambda
Since we will be running our application in the cloud environment, where we will not be required to manage the infrastructure directly, that is, we will not be launching virtual machines and installing the application within them, we will not require service discovery, as elastic load balancers will automatically route to all the instances of the application that are up. So, we will use a version of the product
API that does not use the Eureka discovery client:
package com.mycompany.product; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication public class...