Added section about tags

Signed-off-by: Pedro Moura <pmoura@redhat.com>
This commit is contained in:
Pedro Moura 2025-01-06 18:10:35 -03:00
parent 05fc5b3552
commit c4afa5786a

View file

@ -32,6 +32,8 @@ Before starting, ensure you have:
- If creating a new one, download and securely store the `.pem` file. - If creating a new one, download and securely store the `.pem` file.
- You will need this key to access the instance via SSH. - You will need this key to access the instance via SSH.
Note here that if the instance will be managed by ansible there's an ansible key
=== 5. Configure Network Settings === 5. Configure Network Settings
1. Ensure the instance is in a **VPC** (Virtual Private Cloud). 1. Ensure the instance is in a **VPC** (Virtual Private Cloud).
@ -49,8 +51,8 @@ Before starting, ensure you have:
- Example script to install a web server on Linux: - Example script to install a web server on Linux:
```bash ```bash
#!/bin/bash #!/bin/bash
sudo yum update -y sudo dnf update -y
sudo yum install -y httpd sudo dnf install -y httpd
sudo systemctl start httpd sudo systemctl start httpd
sudo systemctl enable httpd sudo systemctl enable httpd
``` ```
@ -81,6 +83,10 @@ Before starting, ensure you have:
ssh -i /path/to/your-key.pem ec2-user@Instance-IP ssh -i /path/to/your-key.pem ec2-user@Instance-IP
``` ```
== Tags
Every new instance must be configured with tags. It is necessary to define at least the "FedoraGroup" tag to associate it with a group in the instance and the storage volume.
== Conclusion == Conclusion
Congratulations! You have successfully created and accessed your instance on AWS. Use it as needed for your projects or experiments. Congratulations! You have successfully created and accessed your instance on AWS. Use it as needed for your projects or experiments.