Security groups

Great! This covers enough practical knowledge about how to configure and set up an EC2 instance in different operating systems. Now, there is an additional topic we need to cover, that is, Security Groups. You can think of a security group as a collection of firewall rules around your EC2 instance. For example, by adding a security rule, you can allow applications running on your EC2 to accept HTTP traffic. You can create rules to allow access to specific TCP or UDP ports, and much more. 

Since we are expected to deploy web services to our EC2 instances, such as the events microservice. We need to create a security group that allows HTTP traffic, then assign the group to our EC2 instance. 

The first step we will need to do ...

Get Cloud Native programming with Golang now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.