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, 31 May 2017

AWS EC2 - Install Docker on Ubuntu

These are the steps for installing docker on Ubuntu machine.       1  sudo apt-get update     2  sudo apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D     3  sudo apt-add-repository 'deb https://apt.dockerproject.org/repo ubuntu-xenial main'     4  sudo apt-get update  ...

Tuesday, 30 May 2017

There is insufficient memory for the Java Runtime Environment to continue AWS Ec2

docker run --rm -p ......... Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0 # # There is insufficient memory for the Java Runtime Environment to continue. # Native memory allocation (mmap) failed to map 715849728 bytes for committing reserved memory. # An error report file with more information is saved as: # /usr/zeppelin/hs_err_pid1.log Java...

Monday, 29 May 2017

Install Docker in AWS EC2

This article will help you to install docker in centOS version or RHEL version of linux. Install the Docker from official Docker repository $ sudo yum check-update $ curl  curl -fsSL https://get.docker.com/ | sh Once docker installed, start the Docker daemon $ sudo systemctl start docker To check the docker status $ sudo systemctl status docker start the docker at the server reboot $...

Sunday, 28 May 2017

AWS DynamoDB vs AWS S3

When to use aws dynamodb It depends on your use case for the application and type of data. If you want to use it for the real apps, use dynamodb. DynamoDb is good for storing structured data. It has some limits in the storage size but it has very high access speed. S3 storage is good for storing files.It cloud be read over http with REST Api. If you want to update images or some files,...

Saturday, 27 May 2017

Http to Https redirection for ec2 instance

If you want traffic coming to web server redirect to https without change the backed listener to port 443, ELB supports a HTTP header called X-FORWARDED-PROTO. you can force the http to https redirection by writing simple rule. If your using IIS, <rewrite xdt:Transform="Insert"> <rules> <rule name="HTTPS rewrite behind ELB rule" stopProcessing="true"> <match url="^(.*)$"...

Friday, 26 May 2017

Strategy of Amazon Route 53

With Amazon Route 53 , you can manage domain names, register the domain names and pay yearly charge for each domain name registered via Route 53. It provides DNS queries for mapping subdomain with public ip. For example, you registered a domain with Route 53, you want to create subdomain dynamically, aws provides api for creating subdomains, you don't pay any upfront fees, like  all other...

Tuesday, 16 May 2017

aws route53 Tried to create resource record set type=\'CNAME\'] but it already exists'

{ [InvalidChangeBatch: Tried to create resource record set [name='demotest3d.test.com.', type='CNAME'] but it already exists]   message: 'Tried to create resource record set [name=\'demotest3d.test.com.\', type=\'CNAME\'] but it already exists',   code: 'InvalidChangeBatch',   time: Wed May 17 2017 13:05:26 GMT+0800 (Malay Peninsula Standard Time),   requestId: '7684460-3abe-11e7-b5fe-5bc5fdddcbjcxdb52370',  ...

Wednesday, 10 May 2017

Installing Nodejs in Redhat in aws

1. Run this command to setup required components before installing nodejs sudo rpm -Uvh https://rpm.nodesource.com/pub_4.x/el/7/x86_64/nodesource-release-el7-1.noarch.rpm 2. Then install Nodejs sudo yum install nodejs 3. Check nodejs installed version node --version  sudo rpm -Uvh https://rpm.nodesource.com/pub_4.x/el/7/x86_64/nodesource-release-el7-1.noarch.rpm Retrieving https://rpm.nodesource.com/pub_4.x/el/7/x86_64/nodesource-release-el7-1.noarch.rpm warning:...

Wednesday, 3 May 2017

Unable to run yum list

 Unable to run yum info, yum list , i got the follwoing issues Could not contact any CDS load balancers: rhui2-cds01.ap-southeast-1...

RHEL on AWS ec2 missing the following packages

sudo yum install httpd24 php56 mysql55-server php56-mysqlndLoaded plugins: amazon-id, rhui-lb, search-disabled-reposNo package httpd24 available.No package php56 available.No package mysql55-server available.No package php56-mysqlnd available.Error: Nothing to ...

Labels

Online Training

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

Powered by Blogger.

Recent Posts

Find Us On Facebook

Popular Posts