You can customize aws security groups according to your needs.
Aws container security group.
If your cluster is running kubernetes version 1 14 and platform version eks 3 or later then we recommend that you add the cluster security group to all existing and future node groups.
These rules specify which incoming network traffic is delivered to your container instance.
If you add a security group rule using the aws cli the console or the api we automatically set the source or destination cidr block to the canonical form.
As an amazon ec2 customer you have root access to the operating system of your container instances enabling you to take ownership of the operating system s security settings as well as load and configure additional software components for security capabilities such as monitoring patch management log management and host intrusion detection.
In the navigation pane choose security groups.
Configure security group when you are done.
Amazon elastic container service amazon ecs is a fully managed container orchestration service.
If you re using an amazon efs file system with your amazon ec2 instances the security.
For more information see security groups for your vpc in the amazon vpc user guide.
It s better if you give a group a descriptive name so you can choose the best one for your needs without having to look into the ruleset for that particular group.
You can create a security group and add rules that reflect the role of the instance that s associated with the security group.
Network security rules that span pod to pod and pod to external aws service traffic can be defined in a single place with ec2 security groups and applied to applications with kubernetes native apis.
Ecs is a great choice to run containers for several reasons.
You need to give each group a unique name that will allow you to select it from a menu.
If you ve already signed up for amazon web services aws and have been using amazon elastic compute cloud amazon ec2 you are close to being able to use amazon ecs.
For example an instance that s configured as a web server needs security group rules that allow inbound http and https access.
For example if you specify 100 68 0 18 18 for the cidr block we create a rule with a cidr block of 100 68 0 0 18.
Aws eks describe cluster name cluster name query cluster resourcesvpcconfig clustersecuritygroupid.
How aws security groups work.
Aws provides strong security isolation between your containers ensures you are running the latest security updates and gives you the ability to set granular access permissions for every container.
After applying security groups at the pod level your application and node group architecture can be simplified as shown below.
Aws offers 210 security compliance and governance services and key features which is about 40 more than the next largest cloud provider.