ℹ️ Information: Amazon Elastic Compute Cloud (Amazon EC2) provides resizable compute capacity in the AWS Cloud. Using EC2 instances eliminates the need to invest in hardware upfront, allowing you to develop and deploy applications faster.
In the AWS Management Console:
In the EC2 dashboard:
FCJ-Lab-my-server
💡 Pro Tip: Use descriptive naming conventions that include environment, project, and purpose to make resource management easier as your infrastructure grows.
ℹ️ Information: Ubuntu Server 24.04 LTS provides long-term support until 2029, ensuring stability and security updates for your production workloads.
🔒 Security Note: Key pairs are essential for secure SSH access to your instance. Store the private key file securely and never share it. The private key cannot be recovered if lost.
FCJ-Lab-key
Scroll down to the network settings section:
⚠️ Warning: Placing EC2 instances in public subnets exposes them directly to the internet. Ensure your security group rules are properly configured to allow only necessary traffic.
ℹ️ Information: Identity and Access Management (IAM) roles allow your EC2 instance to securely access other AWS services without embedding credentials in your application code.
In the EC2 instance details page:
💡 Pro Tip: The CustomeRWECRRole provides read and write access to Amazon Elastic Container Registry (ECR), enabling your instance to pull and push container images without configuring explicit credentials.