Hands-On: Recreate Security Groups for New VPC

Create the security groups for our new custom VPC.

Because security groups are linked to a VPC, we now need to recreate the security groups to migrate our WordPress instance into the new VPC.

We have seen how to create security groups in the fifth chapter. So, the following steps shouldn’t be new us:

  1. Create an empty security group.
  2. Add rules to this empty security group.
  3. Repeat for each security group to be created.

The only difference here from what we did in the fifth chapter is that we need to specify the VPC now because we aren’t using the default VPC anymore. We will also assign the team=wordpress tag to all the resources we create in this lesson.

Create the ssh-access security group

This was the command we used in the fifth chapter:

Get hands-on with 1200+ tech skills courses.