2
votes

I am trying to develop a Spring Cloud microservice and deploying into AWS cloud using Elastic Beanstalk. When I am searching deployment options I found that deployment environment of Beanstalk. I have a little confusion here. Can I deploy my microservice using Elastic Beanstalk without launching EC2 machine?

Here I am approaching only to Elastic Beanstalk service. Deploying microservice using Elastic Beanstalk without launching EC2 is possible?

I am a beginner in the AWS world.

1

1 Answers

4
votes

You can use Elastic Beanstalk to deploy your microservices. When you use Elastic Beanstalk, in the backend Elastic Beanstalk creates the required EC2 instances and Load balancers to run and deploy your application. Hence you don't need to create an EC2 instance. I would recommend you to follow the tutorial here, which walks you through to launch a sample Multi Docker application.

Also, I would recommend you to research ECS/Fargate service which has more capabilities for hosting a Microservices application.