Monday, August 12, 2013

Online Classes for Learning AWS Administration

Heard about Cloud Computing? Or Cloud Computing with Amazon Web Services?
You're at right place to introduce yourself with AWS. Not with words, but with actions.

I am an open source enthusiastic. I have been working with Linux and UNIX for over 8 years. Currently working as AWS architect and solution provider.
I have come across many people, from individual systems administrator to small and medium entrepreneurs. All I have seen is that people still don't know what is AWS Cloud Computing and how it works. In simple words, most of the individuals lack one thing - "How AWS Cloud Computing works in real time!!!"
I have made an attempt to get everything in front of you with LIVE online practical sessions. So that you don't only learn about AWS but also see how various services can be configured and integrated with each other. You can get lot of text literature online, but you will not get these videos under one roof.
Please visit here for class details.

Here is the list of topics I will be covering in this class:
  • Creating Virtual Servers in Cloud
  • Configuring Storage in Cloud
  • Deploy Content Delivery Network (CDN) in Cloud
  • Deploy Load Balancers in Cloud
  • Automatically launch new Virtual Servers in Cloud using AutoScaling
  • Monitor your services and get alert notifications on email and SMS.
  • Configure Highly Available DNS system in the Cloud.
I will be conducting LIVE sessions every weekend where you can ask questions directly, clear your doubts and if time permits, I will walk over one specific topic which is there in the course as well.

So let's get started guys. If you learn this course seriously, then you can enhance your career growth since Cloud Computing is the next big thing in IT industry.

This course has been designed especially for the beginners. So have your share and start learning Cloud Computing with AWS.. RIGHT NOW.

Please enroll yourself here to know more.

Wednesday, August 7, 2013

Online Video Live Training Session

Its been a while now since I have started training people on various technical skills. Although online education has been widely accepted, still people carry a fear whether the class material will be good or instructor will be having sufficient knowledge, etc.
To overcome this fear and make online eduction a better place to learn, I have started conduction 1x1 video sessions, where student can see the instructor and vice-versa, ask any questions that eventually leads to a great discussions and learning becomes fun.
Please join the online education community and spread the knowledge.

Please visit here to know more.

Manage AWS S3 buckets with Python - Part 2

Here is some more detail on working with S3 using Python.

1. Create a bucket in non-default location.

from boto.s3.connection import Location
#Display all available regions
print '\n'.join(i for i in dir(Location) if i[0].isupper())
#Make connection to S3
s3_conn=boto.connect_s3()
#Create bucket in South-East Asia region
s3_conn.create_bucket('nix-bucket091', location=Location.SAEast)
2. Upload a file to S3
from boto.s3.key import Key
#Create bucket object
bucket_name=s3_conn.get_bucket('nix-bucket091')
#Create Key object
s3_key=Key(bucket_name)
#Set key name attribute
s3_key.key='myfile'
#Create the object of the file you want to upload
fp=open('d:/take100.txt','r')
#Transfer the file
s3_key.set_contents_from_file(fp)
3. List all files in a bucket
#Create bucket objcet
mybucket=s3_conn.get_bucket('nix-bucket1981')
#Loop through all the files in the bucket
for bList in mybucket.list():
     print bList.name.encode('utf-8')

To learn Cloud Computing with AWS, Please get yourself enrolled here. This course is only for $10 with lifetime access of the material.

Sunday, August 4, 2013

Manage AWS S3 buckets with Python - Part 1

There are many ways to manage your AWS account. For ease of administration, AWS provides a very decent web management console to administer most of the services. However, if you are a systems administrator then you must be looking for something which automates most of your admin tasks and makes your life easy.
There are various APIs released by AWS for most of the widely used programming languages. This article will focus on Python integration with AWS.
In this series of articles, I will walk you through most of the services that you can manage using Python.

Before we start, here is a list of pre-requisites:
1. You must have AWS account for practice. Don't worry, you can Free Web Tier for couple of months. Just don't exceed the limits. For more details, please visit AWS official website.
2. Basic understanding of Python. There are many free tutorials on YouTube, Pyton official website, etc.
3. Basic understanding of how AWS services work. Here is an online video tutorial covering most of the AWS services. It will give you good understanding of how stuff works in AWS. You can get it for ONLY $10

Let's get to work now.

There is a standard Python SDK for AWS, which is called boto. You need to install it on your system before you start working on any of the AWS services. Here is the command to install boto.
pip install boto
 Once boto installation will be completed, follow these steps to start working with AWS S3.

1. Create /etc/boto.cfg file and add AWS AccessKeyId and SecretAccessKeyId
2. If you don't want to add credentials in a file, then you have to explicitly define them in the python code (not recommended).

3. Connect with S3 and display existing buckets:
import boto
s3_conn=boto.s3_connect()
s3_conn.get_all_buckets()
 Above code connects with your S3 account and display list of all the existing buckets in default region. The default region is us-east-1.

4. Now, lets create a new bucket. I will first check if the bucket already exists or not.
bucket_name='nix-bucket81'
bucket=s3_conn.lookup(bucket_name)
if bucket:
      print "Bucket %s exists" % bucket_name
else:
     s3_conn.create_bucket(bucket_name)
 5. Finally, delete the bucket.
bucket_name='nix-bucket81'
bucket=s3_conn.lookup(bucket_name)
if bucket:
     print "Deleting bucket %s" % bucket_name
     s3_conn.delete_bucket(bucket_name)
else:
     print "Bucket does not exist"

Thursday, August 1, 2013

AWS Launched Edge Locations in India

Good News for Indian users.

AWS finally launched its edge locations in India. Right now Chennai and Mumbai have been selected to serve Indian customers. This is really an exciting news for AWS lovers in India.

As per announcement made by AWS, the cloud giant has introduced Route53 and CloudFront services as of now. It helps India customers to build highly available DNS system and experience low latency. CloudFront will help in configuring CDN for your website / other services you have configured on AWS. CloudFront really boost performance when your services will be accessed within India.

Another advantage for Indians is cost saving. Right now Indian users have been routed to Singapore edge nodes which are costlier as compared to edge nodes launched in India.

We really hope that AWS will introduce other services too in India. Since India is a big market and there are billions of users accessing AWS services, it will be win-win situation for both AWS and Indian users.