EC2 Create Security Group

Amazon Web Services (AWS)’s Elastic Compute Cloud (EC2) is a commercial web service that allows users to rent virtual computers. Using AWS EC2’s cloud infrastructure, you can build powerful servers in the cloud. This service completely eliminates the need to set up and invest in hardware, enabling you to deploy your apps quickly. With AWS EC2, you can set up servers, configure networking and security, and manage storage.

An instance is nothing but a virtual machine. AWS offers a variety of instance types, which are various combinations of CPU, storage, memory, networking capacity, and so on.  

You can create Security Groups that work as virtual firewall for the created instances. These groups control the traffic for the associated instances, according to the rules defined by you while setting up security groups. You can change this setting/rules at any time.

This action allows you to create a security group. You can create a security group for instances in EC2 Classic platform or in Virtual Private Cloud (VPC). To do this, you first need to configure the action, and select the required AWS connection. Give the security group an appropriate name. You also have to provide a short description of the group.

While naming the group, remember that you cannot have two security groups with the same name within an EC2 Classic platform or within a VPC. It is also important to note if you do not create a security group while launching an instance, the instance will uses the default security group.

Next, in the action, select the region of the instance that needs to be associated with the security group. If you are creating a security group for a specific VPC, you need to specify the ID of the VPC. You can also perform a dry run to check if you have the required permissions to perform this action.


Once you have entered all the required details, click on ‘Done’ and run the workflow. This will create a new security group.
  • output-arrow aws-128 EC2 Create Security Group
    • left-triangle GroupId string