Saturday, August 17, 2019

Endpoints, Endpoint services and Elastic IPs

Endpoints:
to access services internally.
S3 is similar to google drive.

when we try to download a file from S3, it will fetch that over the internet, even our ec2 instance is in the same network.
we can route that internally using Endpoints.

In the endpoint, select the s3 gateway as the endpoint serice and the VPC,subnet we want to give access to.
which will reduce the billing cost for internet charges as no charge for internal access for s3.


Endpoints only for our account we can use.

Endpoints Services.:

we can use for others accounts.

Elastic IPs:(permanent public IP)
when public ip is set to an ec2 instance.
During a poweron,off,restart, the IP gets changed.
We can fix that using Elastic IPs.

elastic ip--> allocate ip, creates new IP.
Now right click on the new IP and click associate address,select the instance and IP.

when the elastic ip is assigned to an instance, bill not be there for it.
But if it is not allocated after creating, there will be charges for it.

to delete it, rightclick -> release



No comments:

Post a Comment