Working with 2 security groups

There are 2 different securing option for EC2 instances in AWS. Those are ACL’s and Security Groups. While ACL’s secure Subnets, Security Groups are related generally between instances(private subnet). If you want to secure your environment you must careful about both of them.

In the cloud environment, every instance works for different necessity so that reason they are needs different ports for their things done. Otherwise, they have also similarities. That means if you work with Linux environment ssh port or Windows side RDP or even if you cluster your Web servers 443 or 80 should be open for them.

In this blog post, I’ll share how to attach 2 different Security Groups for your instances. If you are Ansible guy as me. I think this configuration gonna make your code base better and simpler than before.

That’s all!!! you got the idea.

Now it’s time to make your Infrastructure as Code more secure and easy to manage.