Tag Info

Hot answers tagged

2

You cannot specify the private IP in an Auto Scaling Group, but there is a way to accomplish the same goal. Use a userdata script to attach the same EIP to the instance upon launch. You can then use the public DNS of the EIP as the remote host for your NFS clients. When the NFS clients use DNS to perform a lookup on the public DNS of the NFS server, they ...


2

Spot instances requests are a type of EC2 resource. The AWS documentation notes that this type of resource can be tagged, but the resulting tags are not carried over to the actual instances: The tags that you create for your Spot Instance requests only apply to the requests. These tags are not added automatically to the Spot Instance that the Spot ...


2

Assuming OpenSSH on Linux/MacOS. Putty likely offers something similar. Tell your users to use the ProxyCommand in their ~/.ssh/config files: cat ~/.ssh/config Host !bastion.example.com *.example.com ProxyCommand ssh -q -a user@gateway.example.com nc %h %p IdentityFile ~/.ssh/id_rsa If you then try to connect to test.example.com, ssh will ...


1

No, you will need the private key that matches the public key that was deployed to the instance when it was created.


1

If you cannot modify the security settings of the running instances, they are NOT launched into a VPC. Even for instances not in VPC, EC2 launches them into private networks which are interconnected. So you should specify the private IP address of instance B in the security group of instance A.


1

I resolved this with help from AWS tech support. Here's the info for future newbie's like me: The issue was that iptables was running on instance B and not allowing any traffic. I learned that there are two levels of firewall for EC2 instances: security groups (managed at the AWS console) and iptables (managed on the host). There are reasons to use ...


1

I recommend using S3 Usage Report for large buckets, see my How To on how to get it Basically you need to download Usage Report for S3 service for the last day with Timed Storage - Byte Hrs and parse it to get disk usage. cat report.csv | awk -F, '{printf "%.2f GB %s %s \n", $7/(1024**3 )/24, $4, $2}' | sort -n


1

Permissive. According to AWS here: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-network-security.html#security-group-rules "If there is more than one rule for a specific port, we apply the most permissive rule. For example, if you have a rule that allows access to TCP port 22 (SSH) from IP address 203.0.113.1 and another rule that allows access ...


1

This is a more updated answer for AWS EC2 users as of April 2015: As of Amazon Linux AMI 2015.03, Python 2.7 or Python 3 is supported directly by Amazon by default. Python 2.6, 2.7, and 3.4 can be installed simultaneously and are managed by the alternatives command. All of this is documented clearly on the top half of: ...


1

You don't go into detail on how you're logging in but if you're copying, and pasting the password using the mouse login often fails. Your answer describes a work-around but there is a hot-fix available for Windows 7 here: https://support.microsoft.com/en-us/kb/2547752



Only top voted, non community-wiki answers of a minimum length are eligible