Skip to main content

Posts

Showing posts with the label AWS

Discount (up to 75%) On Amazon EC2 Reserved Instances (RI) compared to On-Demand Instances pricing.

Amazon EC2 Reserved Instances (RI) provide a significant discount (up to 75%) compared to On-Demand pricing and provide a capacity reservation when used in a specific Availability Zone.   Why Should I Use RIs? Save Money and Maintain Flexibility RIs provide you with a significant discount (up to 75%) compared to On-Demand instance pricing. You have the flexibility to change families, OS types, and tenancies while benefitting from RI pricing when you use Convertible RIs. Reserve Capacity RIs can provide a capacity reservation, offering additional confidence in your ability to launch the number of instances you have reserved when you need them. How do RIs Work? EC2 RIs provide a discounted hourly rate and an optional capacity reservation for EC2 instances. AWS Billing automatically applies your RI’s discounted rate when attributes of EC2 instance usage match attributes of an active RI. If an Availability Zone is specified, EC2 reserves capaci...

Restore AWS EC2 instance private key

In case when you lost private keys from AWS EC2 instances you will need a way to restore it. Unfortunately you can’t just change instance private key in AWS Management Console. The easiest way to do it which I found is through Amazon Machine Image (AMI). Basically all you need to do is recreate you instance from AMI and set new private key to it. Below I describe required steps to do it. Steps to change EC2 key pair 1. Shut down your instance   2. Create AMI for that instance and provide some meaningful name for them   3. Go to “Images > AMIs”. You need to launch instance with the same type from created AMI 4. On the last step of launching you will be asked about key pair. So it’s time to create/chose private key which you want to use with this instance 5. After that you need go to “Network & Security > Elastic IPs” and disassociate ip from old instance and associate with created instance...

How To Create a Lifecycle Policy for an S3 Bucket?

Why need lifecycle policies? You can use lifecycle policies to define actions you want Amazon S3 to take during an object's lifetime (for example, transition objects to another storage class, archive them, or delete them after a specified period of time). You can define a lifecycle policy for all objects or a subset of objects in the bucket by using a shared prefix (that is, objects that have names that begin with a common string). A versioning-enabled bucket can have many versions of the same object, one current version and zero or more noncurrent (previous) versions. Using a lifecycle policy, you can define actions specific to current and noncurrent object versions.  To create a lifecycle policy 1. Sign in to the AWS Management Console and open the Amazon S3 console at https://console.aws.amazon.com/s3/ .  2. In the  Bucket name  list, choose the name of the bucket that you want to create a lifecycle policy for.  3. Choose the  M...

How to Monitoring Amazon EC2 and Best Practices for Monitoring

Monitoring Amazon EC2 Monitoring is an important part of maintaining the reliability, availability, and performance of your Amazon Elastic Compute Cloud (Amazon EC2) instances and your AWS solutions. You should collect monitoring data from all of the parts in your AWS solutions so that you can more easily debug a multi-point failure if one occurs Automated and Manual Monitoring AWS provides various tools that you can use to monitor Amazon EC2. You can configure some of these tools to do the monitoring for you, while some of the tools require manual intervention. Topics Automated Monitoring Tools Manual Monitoring Tools Automated Monitoring Tools You can use the following automated monitoring tools to watch Amazon EC2 and report back to you when something is wrong: 1. System Status Checks M onitor the AWS systems required to use your instance to ensure they are working properly. These checks detect problems with your instance that require AWS involveme...

All AWS Products and Use of each products

The following are AWS services that are available with AWS China (Beijing) region operated by Sinnet, and AWS China (Ningxia) region operated by NWCD. Use of these services require AWS China regions accounts and acceptance of the  Sinnet Customer Agreement for AWS (Beijing Region)  and the  NWCD Customer Agreement for AWS (Ningxia Region)  respectively. All prices below are tax exclusive. For the available services list, please visit  http://amazonaws.cn/about-aws/regional-product-services/  . To use AWS information technology services outside of China, please create a separate global AWS Account at  https://aws.amazon.com . Compute Storage Database Migration Networking & Content Delivery Mobile Services Developer Tools Management Tools Security, Identity & Compliance Messaging Internet of Things Support Machine Learning Game Development Analytics Application Services Game Development ...