AWS Updates – Oct 2017 First Week

AWS keeps on adding up new services or enhancing existing services on regular basis. I have been very keen to know their latest updates and so do others too I believe.

I have summarized the updates for last one month and below are the highlights. I hope it will help you stay updated with the AWS world.

  1. Amazon Linux AMI 2017.09

    This is the latest version of Amazon Linux AMI and it is available in all AWS regions now. The new AMI is highly stable, secure and high in performance. It is recommended to upgrade existing instances to leverage the enhancements in new AMI. Some of the noted features in this AMI are:

    1. Python 3.6 – The newest Python version is now included in this AMI.
    2. Ruby 2.4 – The latest version of Ruby is now available by default.
    3. OpenSSL
    4. HTTP/2 Protocol

    And much more.

  2. Upcoming Regions
    1. AWS will be opening a new region in Middle East by 2019. It will be based in Bahrain, will be comprised of three Availability Zones.
    2. There is also a plan to open an edge location in the UAE. It is scheduled to be opened in 2018. It will host Amazon CloudFront,, Amazon Route53, AWS Shield and AWS WAF services.

    As of today, AWS is running with 16 regions and 44 availability zones across the world.

  3. More updates on multiple services

    Here are some of the recent enhancements announced.

    1. Monitoring for Cross-Region replication of S3 objects.
    2. Tags for spot instances.
    3. PCI DSS compliance for 12 more services.
    4. HIPAA eligibility for WorkDocs.
    5. VPC Resizing.
    6. AppStream 2.0 Graphic Design Instances.
    7. AMS Connector App for ServiceNow.
    8. Regtech in the Cloud.
    9. New & Revised Quick Starts.

Create Puppet modules using Classes

A Puppet module is a reusable unit of manifest code, similar to functions or methods in procedural languages. A Puppet module can be defined in either of the following ways:

  1. Using classes
  2. Using defined types

In this article, I’m going to explain how to create a Puppet module using Classes. A Puppet class can be considered to be a container for resources. It is defined once and selected by all nodes that need to make use of the prepared functionality. Each class represents a well-known subset of a system’s configuration.

Here is the syntax of the class.

 class name { type {‘name’: attribute => value, } type {‘name’: attribute => value, } }
First thing you need to do is to create directory structure for your module. It needs to be created under “modules” directory present in your Puppet home directory (on most of the systems, Puppet home directory is /etc/puppet)

Here are step by step instructions: Continue reading


Configure AWS EC2 instance using Boto

Amazon Web Services (AWS) supports almost all the services required to run an enterprise level data center. The most frequently used service is Amazon Elastic Cloud Computing (EC2).

In this article, I’ll try to cover some of the most widely used EC2 parameters to be configured using Boto. Undoubtedly, AWS provides a web console which is very user friendly and supports almost all the features. But having Boto in your armour is a real edge. Being a system or AWS administrator, you won’t rely on the console very much. Instead, it will be all scripting and scripting. That’s where Boto comes into picture.

Ok, so let’s get started. First things first, let’s launch a new EC2 instance using Boto.

In order to create and managed EC2 instance, you’ll need following minimum information with you

  1. AMI ID               (Image ID which will be used to launch a new instance)
  2. Security Group (Security group name which the new instance will be part of)
  3. Key Pair             (Key pair name which will be used to access the instance)
  4. Region                (Leave blank for default region)
  5. Instance Type   (There are many types to select from, like t1.micro, m1.small, m1.medium, etc.)

Let’s create a new instance using Boto by providing above details:

    1. Create a connection between Boto and EC2


   2. Create new instance


   3. The output returns the reservation id for that particular instance.

Continue reading