This forum provides solutions for aws developers for their issues.It provides solutions for aws elastic ip, ec2 instance, public ip,route53 pricing, load balancers in aws,Orchestration, ebs,, lambda, installing mongodb on ubuntu etc.

Wednesday 21 June 2017

What is Amazon EBS


  • It is like a virtual hard drive you can use with ec2 instances.
  • It is a service!
  • Amazon EBS is a block storage system that is used for storing persistence data.
  • Aws provides highly available block storage to use storage with ec2 instances.
  • Ec2 instances have local storage that stores as long as instance running. If you shutdown the system, you loose local storage data. If you want to save the data, you need to use elastic block storage.
  • It is an independent of EC2.



  • It persists independently and you can attach it to your ec2 instances when needed, once attached , you can use it as any physical hard drive.

  • When you use EBS with EC2 to store data, if ec2 instance fails, you don't have to worry about loosing the data because, it is housed on block storage volume.

  • EBS volumes can  be between 1GB to 1 TB in size.
  • EBS created in a particular availabilility zone, or AZ.
Wen you create an Amazon EBS volume in an AZ, it is automatically replicated within that zone to prevent data loss due to failure of any single hardware component.

EBS can be attached one instance at a time, but many volumes can be attached to single instance at a time.

EBS Volume Types :
  • Magnetic
  • General Purpose (SSD)
  • Provisioned IOPS(SSD)






Tuesday 20 June 2017

Elastic IP's are free or Charged - AWS

Elastic IP address are static IPv4 address designed for dynamic cloud computing. Aws provides elastic ip's for free.
Elastic IP's are Free when attached to running instances. Once the elastic ip is assigned, if the instance is other than running state, it will be treated as unassociated elastic ip and will get charged.

Stopped instances elastic ip's also getting charged by aws.
So be carefull about the Elastic Ip's.




Thursday 15 June 2017

Install Docker on Ubuntu 16.04 AWS, DigitalOcean Ubuntu, or any Ubuntu Version

Docker is a container platform which allows to run application processes in a container.

Check the current os version

for ubuntu
uname -a
Linux server1 4.4.0-31-generic #50-ubuntu SMP ......
Check ubuntu version
cat /etc/lsb-release
Step1:
add GPG key for offical docker repo to the ubuntu system
$curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -

Step2:

$sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
Step3:
$sudo apt-get update
Step4:
Install Docker CE, docker daemon start automatically
$sudo apt-get install docker-ce
Installtion done. Ready to go ......

Step5:
Verify docker installed correctly or not
 $sudo docker run hello-world
Check Docker version:

$ docker version








Uninstall docker


$ sudo apt-get purge docker-ce


Wednesday 14 June 2017

Configure your server with domain name using AWS Route53

You can register domains using aws route53.


1. Open Route53 from aws console
2. Select Hosted zone
3. Create Record set with the follwoing
Name: domain name
Type : A-IPv4 address
Alias : No
TTL(Seconds) : 300
value : server ip
Routing Policy : Simple

Why Route53 ?
AWS route 53 has lot many features. We can use the aws resources to point domain names with the server and creating subdomain pointing to the server will be easier.


What is Orchestration

Cloud orchestration is arranging and coordination of automated tasks resulting in a workflow or consolidated process.
simple example,

For creating a standard process to spin up an environment to host new app, IT teams need to orchestrate the automated tasks.


IT team can use AWS cloud formation orchestrator to create a template that orchestrate the all the process into single workflow.

Tuesday 13 June 2017

What is AWS diagram and how to create?

Amazon Web Service(AWS) is a cloud computing platform , which provides a wide range including compute, storage, networking, application services, deployment, database, analytics etc.


AWS Architecture diagram provides a full set of aws icons and easy drag n drop drawing platform.
System administrators and network professionals can map the AWS infra in minutes.

AWS Diagram Software Features

1. It's a cross-platform based program which runs on Windows, Mac and Linux systems.

2. It's completely compatible with Visio and Microsoft Office.

3. It provides high-quality and standardized AWS icons.

4. It provides built-in templates to help you start quickly.

4. Easy to use, support "auto alignment and spacing", "drag and drop", "snap and glue" etc.

6. Easy to export your drawing to PNG, PDF, JPG, SVG, Visio, Word, PPT, Html, etc.

7. It supports WYSIWYG printing.

8. It supports multi-page and  large size drawing.

9. Easy to manage text blocks and add texts.

10. Supports attachments, hyperlinks and notes.

There are several tools available in the market for making aws diagrams through simple drag and drop.

cloudcraft is one of the good web based tool.

Monday 12 June 2017

Configuring comodo ssl for ec2 instance

What is CA bundle - SSL Certificate ?

CA bundle is a file which contains root certificate and intermediate certificate.
It is for domain constitues certificates chain with CA bundle.

Comodo may provide you complete CA bundle file or provide you root and intermediate certificates separately.

Comodo provides the following 3 files.

domain.cer - Domain Certificate
COMODORSADomainValidationSecureServerCA.cer  - Intermediate certificate 2
COMODORSAAddTrustCA.cer - Intermediate certificate 1
AddTrustExternalCARoot.cer - Root Cert


You must use the correct order.

cat www_example_com.crt COMODORSADomainValidationSecureServerCA.crt  COMODORSAAddTrustCA.crt AddTrustExternalCARoot.crt > ssl-bundle.crt

server {
    listen 443;

    ssl on;
    ssl_certificate /etc/nginx/ssl/example_com/ssl-bundle.crt;
    ssl_certificate_key /etc/nginx/ssl/example_com/example_com.key;

}

Labels

Online Training

Your Name :
Your Email: (required)
Your Message: (required)

Powered by Blogger.

Recent Posts

Find Us On Facebook

Popular Posts