What is the AWS Account Id for Heroku in Europe? - heroku

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 ...

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.

Move elastic IP between servers on AWS

Can someone provide some CLI commands to move an Elastic IP between servers in AWS? I have the AWS EC2 CLI command for associate/disassociate and it requires an association ID. How do I get that? As well, I have 2 NIC's in each server (instance)...how do I tell AWS to associate the Elastic IP with the right NIC?
To allocate EIP to the ENI you will have to use --network-interface-id check this link for details
https://docs.aws.amazon.com/cli/latest/reference/ec2/create-network-interface.html.
And you can get association ID for the EIP from the console check this screenshot.
Or you can achieve that from command line.
https://docs.aws.amazon.com/cli/latest/reference/ec2/describe-addresses.html
aws ec2 associate-address --region us-east-1 --allocation-id eipalloc-xxx --allow-reassociation --network-interface-id eni-xxx

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

Do Heroku Dynos enjoy free data transfer inside the AWS network?

I'm considering using Heroku for a NodeJS app, and I was wondering if their Dynos enjoy the free internal data transfer inside the AWS network.
I want to use DynamoDB, ElastiCache, RDS, SQS and a bunch of other AWS offerings - if I can connect to all of them from Heroku, which region and AZ do I need to set them up in to talk to them for free from the Heroku Dynos?
Heroku runs in US-East region so as long as you setup there you shouldn't incur any transfer costs between dynos and other services.
There's more details on the https://devcenter.heroku.com/articles/amazon_rds page - it relates to RDS but a lot of it is general Amazon stuff like security groups etc.

Resources