How do you allocate and associate an Elastic IP to an EC2 instance in AWS?

To allocate and associate an Elastic IP to an EC2 instance in AWS, you first need to allocate a new Elastic IP address. Then, you associate it with the desired EC2 instance

What is an Elastic IP (EIP) in AWS, and how does it differ from a standard public IP address?

AWS, an Elastic IP (EIP) is a static, public IPv4 address that you can associate with an EC2 instance or network interface, allowing you to maintain a constant IP address even if the instance is stopped, restarted, or terminated

What is the difference between a public subnet and a private subnet in AWS?

In AWS, a public subnet is directly connected to the internet via an Internet Gateway, allowing resources within it to be accessed from the internet. A private subnet does not have a direct route to the internet and relies on a NAT gateway (Network Address Translation) or other mechanisms for internet access.

How do you determine whether a subnet should be public or private in a VPC?

A public subnet has a route to the Internet Gateway, allowing instances within it to connect directly to the internet. A private subnet, conversely, does not have a direct route to the Internet Gateway and requires a NAT gateway or other mechanism to access the internet.

What is the maximum number of objects you can store in an S3 bucket?

Unlimited Storage: S3 provides unlimited scalability, meaning you can store as much data as you need.
No Object Limit: There's no limit to the number of objects within a single bucket.
Object Size Limit: Individual S3 objects can range from 0 bytes to 5 TB in size.
Bucket Limits: While you can store an unlimited number of objects in a bucket, you can create up to 100 buckets per AWS account, but you can request an increase to a maximum of 1000 buckets.