One simple approach to minimize operating cost in AWS

I am using AWS for the last couple of months. The more I am exploring it, the more I am loving it. Thinking about doing a PhD on AWS (Just kidding).
Since I am still using my credit card, sometimes it’s scary while running a large instance as pay per use model. What I have observed is most of my internal servers are only running during the office hour but they are generating cost as those are running instances. Below approach helps me to minimize 50% cost that was generating earlier.

Use AWS CLI

Using AWS CLI you can create a simple script which will run as a scheduler to stop and start any instance.

In start batch file write the below command
aws ec2 start-instances –instance-ids [YOUR INSTANCE ID]
You will find the instance id in EC2 management console. Add multiple instance id in the same line with a space.

In stop batch file write the below command
aws ec2 stop-instances –instance-ids [YOUR INSTANCE ID]
You will find the instance id in EC2 management console. Add multiple instance id in the same line with a space.

  • Create two windows scheduler and map those batch files to run as you want

I have seen a tremendous result in my environment after following this technique. I am still very new in AWS world and I am sure there may be several other techniques available to control the cost on AWS. Please do let me know if you are following any better approach.

Concern

  • Do not store anything in the temporary drive AWS creates. AWS always refresh temporary drives data after restarting
  • Use VPC to have same private IP
  • If you have public IP associated with an instance, use elastic IP as AWS will assign new public IP if you stop and restart an instance, in case you are not using any elastic IP

 

Unable to connect to AWS -RDS from SQL Server Management Studio

After promoting RDS instance this is a common problem that you are not being able to access your DB instance. To resolve this issue follow the below steps.

  1. Go to your AWS console – https://console.aws.amazon.com
  2. From Services click on RDC
  3. Select the instance that you have created and note the security groups name
  4. From services click on VPC
  5. Go to Security Groups
  6. Select the security group that you have noted earlier
  7. Click on Inbound rules
  8. Click on Edit button
  9. Add MSSQL port and source network address (from where you want to connect)
  10. Click save
  11. Now try to connect from your computer, it should work

What is your plan to gather cloud knowledge in 2014?

Cloud computing is the ultimate of future IT. The major players in IT industry are heavily investing in this domain. What I believe is, if you don’t have knowledge on cloud computing, I doubt whether you will be able to survive in IT profession after the next 4/5 years or not. I always try to learn something new and after reaching Sydney, every morning I am asking myself – what should be my future action plan to secure my existence in IT industry. And what I found so far is having expertise in Cloud computing.
Few certifications which will help you to join this race are:

CompTIA Cloud Essentials certification

This is a very basic cloud certification to have a vendor neutral knowledge on cloud computing. I think this will be a recommended certification for every organization having corporate IT setup in future.  http://certification.comptia.org/getCertified/certifications/cloud.aspx

Amazon AWS Certification

Amazon is the number one cloud service provider in the market. For your immediate start in cloud computing profession this is the coolest certification in highest demand. http://aws.amazon.com/certification/

CloudU Certification

This is another vendor neutral certification from Rackspace who are in third position in cloud computing business.  http://www.rackspace.com/knowledge_center/cloudu/

Google Apps Certification

Do you want to start your own business? Are you dreaming to join in Google IT support team? Google Apps Certification could be the choice to fulfill your dream. http://certification.googleapps.com/

Microsoft Private Cloud + Windows Azure

For the Microsoft lovers it is the right time to upgrade your skill with Microsoft Private Cloud and windows Azure certification.  http://www.microsoft.com/learning/en-au/exam-70-487.aspx

http://www.microsoft.com/learning/en-us/private-cloud-certification.aspx

VMware Certification

This is one of the hottest certifications in the market. http://mylearn.vmware.com/portals/certification/

Citrix Certification

Citrix certification is always in demand. To take your career to the next level it will be a sure success.  http://training.citrix.com/cms/education/certification

I have started with CompTIA, what about you?