Preparing the Cloud9 environment
In this section, we will set up an AWS Cloud9 environment to help us speed up the preparation of the Terraform code for our vulnerable IAM lab. If you are wondering what AWS Cloud9 is, it is simply an integrated development environment (IDE) that allows developers and engineers to manage and run code using a browser. If you have used other IDEs before, such as Visual Studio Code and Eclipse, you can think of Cloud9 as a cloud-based solution provided by AWS that offers a collaborative and flexible environment for software development.
With AWS Cloud9, our code is stored and runs inside an Amazon Elastic Compute Cloud (EC2) instance, giving us a similar level of control and familiarity as if we were working on a local machine. For example, if we encounter disk space issues while using AWS Cloud9, we can simply expand the storage capacity of the underlying EC2 instance that hosts our Cloud9 environment. We can do this by resizing the instance’...