February 2020
Intermediate to advanced
404 pages
8h 42m
English
So far we've provisioned an EC2 instance with a public DNS. Now, we need an API to deploy on the instance. Let us use the bookServer containerized application from Chapter 12, Containerizing REST Services for Deployment. There, we developed a Go API server that serves book details on an endpoint. In this section, let us try to deploy that ecosystem on an AWS EC2 instance. Let's look at the steps to deploy bookServer on AWS EC2, as follows:
scp -r $GOPATH/src/github.com/git-user/chapter12/deploySetup ubuntu@ec2-52-59-192-138.eu-central-1.compute.amazonaws.com:/home/ubuntu
Read now
Unlock full access