EC2 t2.micro unexpected charging in AWS - amazon-ec2

I'm having a hard time understanding why I am being charged on a EC2 instance I'm not running.
I'm using a IAM account, I have an RDS t3.medium up on the master account where the RDS cost is charged, but it appears I'm being charged as my IAM account for a EC2 I dont' use.
So what may be causing this ec2 charging?

You are being charged for a t2.micro Amazon EC2 instance in the Ohio region because such an instance is/was running.
If you are still in the first 12 months of your AWS Account, there will be no charge for this instance because the AWS Free Tier includes 750 hours per month of a t2.micro instance.
You should look in the EC2 management console for Ohio, just to check whether the instance is still running.

Related

Aws billing pricing shutting down server

I have a client aws account i cannot get access to and he cannot access gmail to change password. He owns an ec2 instance. I have ssh access. If i go in and shut down the server, not able to terminate, what will my monthly charges be. We have the 30g storage im sure is ebs. Owner says its either micro or medium i assume I can figure that out myself with free command
Firstly - if neither of you have access to the account, who does? As suggested in the comments you should contact AWS support to gain access to the account based on your account information.
Secondly, to your question, if the only thing running on the account is one instance with attached EBS that doesn't get any traffic, no snapshots, and no other services deployed, you would only pay for the EBS volume.
Please note that if you have programmatic access with the right privileges you can use the AWS CLI (or SDK) to terminate the instance and the EBS:
terminate-instances
--instance-ids <value>
[--dry-run | --no-dry-run]
[--cli-input-json <value>]
[--generate-cli-skeleton <value>]
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/terminating-instances.html

How to ransfer(move) AWS EC2 instance from A account to b account but IP unchanged?

I have a instance in AWS EC2 A account,
I want to move it From AWS EC2 A account to AWS EC2 B account,
but the instance IP can not be changed,how do i do it?
Thank you.
That's not possible.
Instances cannot be moved across account boundaries, they can only be clones.
Elastic IPs also cannot be moved.
Your service should use DNS names and not be dependent on a fixed IP address.

How do I migrate an Amazon EC2 Instance to a different account

Currently we are hosting a customer's instance in our Amazon EC2 Account. We would like to move this to the customer's account so that the billing is transferred.
Is there an easy way to simply migrate an instance to a different Amazon Cloud account?
No, you cannot move an running instance from one account to another.
You can however create an AMI of that instance and share the AMI with the other account. Take note of "Sharing an AMI with Specific Users":
http://aws.amazon.com/articles/530

What is the AWS Account Id for Heroku in Europe?

I'm looking to move our Heroku app from the US to the EU region. As our app uses Amazon RDS as the database I'll need to add the new european Heroku EC2 cluster to the access whitelist.
Does anyone know the new AWS Account ID?
Never mind, I needed to move my Amazon RDS instance to the same region as Heroku is in (eu-west-1). I've now got it working!
I had to apply the region option:
rds-authorize-db-security-group-ingress --region eu-west-1 ...

Using Amazon EC2 as a webserver with a specific IP address

I'm trying to create a personal/professional website within a college-domain. From the university I've requested a static-IP address which is directed to a website-name "http://lastname.someuniversity.edu". I would like to setup an Amazon EC2 instance to host a website.
I know how to create/administer the website on the EC2 instance I just don't know how to get the EC2 instance to talk to the university (and vice-versa). The IT person at the university wasn't terribly helpful.
i know how to setup a local machine to run as the webserver just not how to get the Amazon EC2 instance to 'sit inside" the university.
Thanks for the help,
Will
If you want the Amazon EC2 instance "to sit inside your university" you may want to establish a VPN connection by using the Amazon Virtual Private Cloud service.
This service is still in beta, but it has been publicly available for about a year. A connection currently costs $0.05 per hour (circa $36.5 per month) and you also pay for data transfer.
Check out Amazon Virtual Private Clouds. I think it is exactly what you are asking for.
You will need to work with your "IT person" to setup a VPN connection between your premises and the EC2 cloud. In practice you will likely need to:
1) Define a subnet for your EC2 connections (ie. 10.10.10.x).
2) Build a VPN tunnel between your university and Amazon (Virtual Private Cloud).
3) Enable any routing or firewall changes at the university.
You know you've got it working when you can 'ping' the EC2 host from within your premises.
BTW, I have recently released a new service that specifically runs on Amazon EC2. About 20% of people are now asking for VPC in order to use our service (Virtual Lab Management), and so I can attest that it's a solution that has raised interest in a lot of large organizations.

Resources