Book Image

Cloud Native programming with Golang

By : Mina Andrawos, Martin Helmich
Book Image

Cloud Native programming with Golang

By: Mina Andrawos, Martin Helmich

Overview of this book

Awarded as one of the best books of all time by BookAuthority, Cloud Native Programming with Golang will take you on a journey into the world of microservices and cloud computing with the help of Go. Cloud computing and microservices are two very important concepts in modern software architecture. They represent key skills that ambitious software engineers need to acquire in order to design and build software applications capable of performing and scaling. Go is a modern cross-platform programming language that is very powerful yet simple; it is an excellent choice for microservices and cloud applications. Go is gaining more and more popularity, and becoming a very attractive skill. This book starts by covering the software architectural patterns of cloud applications, as well as practical concepts regarding how to scale, distribute, and deploy those applications. You will also learn how to build a JavaScript-based front-end for your application, using TypeScript and React. From there, we dive into commercial cloud offerings by covering AWS. Finally, we conclude our book by providing some overviews of other concepts and technologies that you can explore, to move from where the book leaves off.
Table of Contents (19 chapters)
Title Page
Credits
About the Authors
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface
7
AWS I – Fundamentals, AWS SDK for Go, and EC2

AWS API gateway


The next step in our quest to dive into cloud native applications is to take a tour into the AWS API gateway. As mentioned earlier, the AWS API gateway is a hosted service that allows developers to build flexible APIs for their applications. In this section, we will go through a practical introduction about the service and how it can be used.

Similar to the other services that we have covered so far, we will create an API gateway via the AWS console. The first step, as usual, would be to visit and log in to the AWS console at aws.amazon.com.

The second step would be to go to the home page, and then select API Gateway from under Application Services:

Next, we will need to select API from the left-hand side, then click on Create API. This will start the process of creating a new API to use for our application:

From there, we get to pick a name of our new API, as follows: 

Now, after creating the API, we will need to create mappings between the AWS API gateway, and the addresses...