- 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 aamazon services, you pay as you go. You will get charges for hosted zones you configure and every DNS query answered by Route53.
- Check the health of your resources created.
Friday, 26 May 2017
May 26, 2017
Strategy of Amazon Route 53
Tuesday, 16 May 2017
May 16, 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',
statusCode: 400,
Solution : Subdomain already exists. Check in route53.
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',
statusCode: 400,
Solution : Subdomain already exists. Check in route53.
Wednesday, 10 May 2017
May 10, 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 nodejs3. Check nodejs installed versionnode --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: /var/tmp/rpm-tmp.hOuTrS: Header V3 RSA/SHA1 Signature, key ID 34fa74dd: NOKEY
Preparing... ################################# [100%]
Updating / installing...
1:nodesource-release-el7-1 ################################# [100%]
[ec2-user@ip- ~]$ sudo yum install nodejs
Loaded plugins: amazon-id, rhui-lb, search-disabled-repos
epel/x86_64/metalink | 6.3 kB 00:00
nodesource | 2.5 kB 00:00
pgdg93 | 4.1 kB 00:00
rhui-REGION-client-config-server-7 | 2.9 kB 00:00
rhui-REGION-rhel-server-optional | 3.5 kB 00:00
rhui-REGION-rhel-server-releases | 3.5 kB 00:00
rhui-REGION-rhel-server-rh-common | 3.8 kB 00:00
rhui-REGION-rhel-server-supplementary | 3.4 kB 00:00
(1/3): nodesource/x86_64/primary_db | 59 kB 00:00
(2/3): rhui-REGION-rhel-server-supplementary/7Server/x86_6 | 45 kB 00:00
(3/3): rhui-REGION-rhel-server-supplementary/7Server/x86_6 | 230 kB 00:00
Resolving Dependencies
--> Running transaction check
---> Package nodejs.x86_64 1:6.10.1-2.el7 will be installed
--> Processing Dependency: npm = 1:3.10.10-1.6.10.1.2.el7 for package: 1:nodejs-6.10.1-2.el7.x86_64
--> Processing Dependency: libuv >= 1:1.9.1 for package: 1:nodejs-6.10.1-2.el7.x86_64
--> Processing Dependency: libuv.so.1()(64bit) for package: 1:nodejs-6.10.1-2.el7.x86_64
--> Running transaction check
---> Package libuv.x86_64 1:1.10.2-1.el7 will be installed
---> Package npm.x86_64 1:3.10.10-1.6.10.1.2.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
nodejs x86_64 1:6.10.1-2.el7 epel 4.6 M
Installing for dependencies:
libuv x86_64 1:1.10.2-1.el7 epel 109 k
npm x86_64 1:3.10.10-1.6.10.1.2.el7 epel 2.5 M
Transaction Summary
================================================================================
Install 1 Package (+2 Dependent packages)
Total download size: 7.3 M
Installed size: 26 M
Is this ok [y/d/N]: y
Downloading packages:
(1/3): libuv-1.10.2-1.el7.x86_64.rpm | 109 kB 00:02
(2/3): npm-3.10.10-1.6.10.1.2.el7.x86_64.rpm | 2.5 MB 00:08
(3/3): nodejs-6.10.1-2.el7.x86_64.rpm | 4.6 MB 00:16
--------------------------------------------------------------------------------
Total 447 kB/s | 7.3 MB 00:16
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Warning: RPMDB altered outside of yum.
Installing : 1:libuv-1.10.2-1.el7.x86_64 1/3
Installing : 1:npm-3.10.10-1.6.10.1.2.el7.x86_64 2/3
Installing : 1:nodejs-6.10.1-2.el7.x86_64 3/3
Verifying : 1:libuv-1.10.2-1.el7.x86_64 1/3
Verifying : 1:nodejs-6.10.1-2.el7.x86_64 2/3
Verifying : 1:npm-3.10.10-1.6.10.1.2.el7.x86_64 3/3
Installed:
nodejs.x86_64 1:6.10.1-2.el7
Dependency Installed:
libuv.x86_64 1:1.10.2-1.el7 npm.x86_64 1:3.10.10-1.6.10.1.2.el7
Complete!
[ec2-user@ip-172-31-4-45 ~]$ node --version
v6.10.1
curl -sL https://rpm.nodesource.com/setup | bash -
================================================================================
================================================================================
SCRIPT DEPRECATION WARNING
This script, located at https://rpm.nodesource.com/setup, used to
install Node.js v0.10, is being deprecated and will eventually be made
inactive.
You should use the script that corresponds to the version of Node.js you
wish to install. e.g.
* https://rpm.nodesource.com/setup_4.x — Node.js v4 LTS "Argon" (recommended)
* https://rpm.nodesource.com/setup_6.x — Node.js v6 Current
Please see https://github.com/nodejs/LTS/ for details about which version
may be appropriate for you.
The NodeSource Node.js Linux distributions GitHub repository contains
information about which versions of Node.js and which Linux distributions
are supported and how to use the install scripts.
https://github.com/nodesource/distributions
================================================================================
================================================================================
Continuing in 10 seconds (press Ctrl-C to abort) ...
## Installing the NodeSource Node.js v0.10 repo...
## Inspecting system...
+ rpm -q --whatprovides redhat-release || rpm -q --whatprovides centos-release || rpm -q --whatprovides cloudlinux-release || rpm -q --whatprovides sl-release
+ uname -m
## Confirming "el7-x86_64" is supported...
+ curl -sLf -o /dev/null 'https://rpm.nodesource.com/pub_0.10/el/7/x86_64/nodesource-release-el7-1.noarch.rpm'
## Downloading release setup RPM...
+ mktemp
+ curl -sL -o '/tmp/tmp.YqE52h2nSA' 'https://rpm.nodesource.com/pub_0.10/el/7/x86_64/nodesource-release-el7-1.noarch.rpm'
## Installing release setup RPM...
+ rpm -i --nosignature --force '/tmp/tmp.YqE52h2nSA'
error: can't create transaction lock on /var/lib/rpm/.rpm.lock (Permission denied)
Error executing command, exiting
[ec2-user@ip-172-31-4-45 ~]$ sudo curl -sL https://rpm.nodesource.com/setup | bash -
================================================================================
================================================================================
SCRIPT DEPRECATION WARNING
This script, located at https://rpm.nodesource.com/setup, used to
install Node.js v0.10, is being deprecated and will eventually be made
inactive.
You should use the script that corresponds to the version of Node.js you
wish to install. e.g.
* https://rpm.nodesource.com/setup_4.x — Node.js v4 LTS "Argon" (recommended)
* https://rpm.nodesource.com/setup_6.x — Node.js v6 Current
Please see https://github.com/nodejs/LTS/ for details about which version
may be appropriate for you.
The NodeSource Node.js Linux distributions GitHub repository contains
information about which versions of Node.js and which Linux distributions
are supported and how to use the install scripts.
https://github.com/nodesource/distributions
================================================================================
================================================================================
Continuing in 10 seconds (press Ctrl-C to abort) ...
## Installing the NodeSource Node.js v0.10 repo...
## Inspecting system...
+ rpm -q --whatprovides redhat-release || rpm -q --whatprovides centos-release || rpm -q --whatprovides cloudlinux-release || rpm -q --whatprovides sl-release
+ uname -m
## Confirming "el7-x86_64" is supported...
+ curl -sLf -o /dev/null 'https://rpm.nodesource.com/pub_0.10/el/7/x86_64/nodesource-release-el7-1.noarch.rpm'
## Downloading release setup RPM...
+ mktemp
+ curl -sL -o '/tmp/tmp.lEXvKWHzpI' 'https://rpm.nodesource.com/pub_0.10/el/7/x86_64/nodesource-release-el7-1.noarch.rpm'
## Installing release setup RPM...
+ rpm -i --nosignature --force '/tmp/tmp.lEXvKWHzpI'
error: can't create transaction lock on /var/lib/rpm/.rpm.lock (Permission denied)
Error executing command, exiting
Wednesday, 3 May 2017
May 03, 2017
Unable to run yum list
May 03, 2017
RHEL on AWS ec2 missing the following packages
sudo yum install httpd24 php56 mysql55-server php56-mysqlnd
Loaded plugins: amazon-id, rhui-lb, search-disabled-repos
No package httpd24 available.
No package php56 available.
No package mysql55-server available.
No package php56-mysqlnd available.
Error: Nothing to do
Loaded plugins: amazon-id, rhui-lb, search-disabled-repos
No package httpd24 available.
No package php56 available.
No package mysql55-server available.
No package php56-mysqlnd available.
Error: Nothing to do
Saturday, 8 April 2017
April 08, 2017
not authorized to perform: route53:ChangeResourceRecordSets on resource:
{ [AccessDenied: User: arn:aws:iam::902816437957:user/SrinivasNidadavolu is not authorized to perform: route53:ChangeResourceRecordSets on resource: arn:aws:route53:::hostedzone/Z4MNS19SVTW6HWE]
message: 'User: arn:aws:iam::902816437957:user/SrinivasNidadavolu is not authorized to perform: route53:ChangeResourceRecordSets on resource: arn:aws:route53:::hostedzone/Z4MNS19SVTW6HWE',
code: 'AccessDenied',
time: Sun Apr 09 2017 14:54:04 GMT+0800 (Malay Peninsula Standard Time),
requestId: '320f74e1-1cf1-11e7-b82f-d7cbe814b865',
statusCode: 403,
retryable: false,
retryDelay: 49.57547772210091 }
Solution :
Go to IAM in AWS Console
IAM Resources - Users: 1
steps:
1.click on the user
2. add Add inline policy
Policy Generator - Select
You need to add inline policy to the user
1.Select Route 53,
2. ChangeResourceRecords
3. ARN is arn:aws:route53:::hostedzone/M148QEXAMPUE9J - us your hostzone
message: 'User: arn:aws:iam::902816437957:user/SrinivasNidadavolu is not authorized to perform: route53:ChangeResourceRecordSets on resource: arn:aws:route53:::hostedzone/Z4MNS19SVTW6HWE',
code: 'AccessDenied',
time: Sun Apr 09 2017 14:54:04 GMT+0800 (Malay Peninsula Standard Time),
requestId: '320f74e1-1cf1-11e7-b82f-d7cbe814b865',
statusCode: 403,
retryable: false,
retryDelay: 49.57547772210091 }
Solution :
Go to IAM in AWS Console
IAM Resources - Users: 1
steps:
1.click on the user
2. add Add inline policy
You need to add inline policy to the user
1.Select Route 53,
2. ChangeResourceRecords
3. ARN is arn:aws:route53:::hostedzone/M148QEXAMPUE9J - us your hostzone
Friday, 7 April 2017
April 07, 2017
Instance does not have a volume attached at root (/dev/sda1)
Labels
- Access Denied IAM (1)
- amazon ecs (1)
- amazon ecs clustor (1)
- amazon elastic beanstack (1)
- amazon elatsiccache (1)
- amazon vpc (1)
- amazon web services (1)
- amazon web services benefits (1)
- amazon web services cli (1)
- apache redirection (1)
- apache tomcat ubuntu 16.04 (1)
- application load balancing (1)
- apt get install docker (1)
- aws (1)
- aws diagram drag and drop (1)
- aws diagrams (1)
- aws diagrams creation (1)
- aws domains (1)
- aws dynamodb (1)
- Aws ebs (1)
- aws ec2 docker insufficient memory (1)
- aws eip (1)
- aws elastic beanstalk (1)
- aws elastic cache (1)
- aws elastic ip (1)
- aws lambda (1)
- aws lambda function (1)
- aws lambda pricing (1)
- aws no sql (1)
- aws online training (1)
- aws php (1)
- aws route53 (1)
- aws route53 domain issue (1)
- aws route53 Latency Based Routing queries pricing (1)
- AWS route53 strategy (1)
- aws route53 Traffic Flow pricing (1)
- aws route53 Tried to create resource record set type (1)
- aws s3 (1)
- aws s3 multi part data upload (1)
- aws s3 pricing (1)
- aws security group ip range (1)
- aws security group limits (1)
- aws security group rules (1)
- AWS SES (1)
- block vs object storage (1)
- but DryRun flag is set (1)
- centos (2)
- centos nodejs (1)
- centos npm (1)
- ChangeResourceRecordSet - Update issue (1)
- ChangeResourceRecordSets aws (1)
- ChangeResourceRecordSets nodejs (1)
- classic load balancing (1)
- cloud computing training (1)
- comodo ssl (1)
- ConfigError in aws (1)
- Connection timed out after (1)
- Could not load credentials from any providers (1)
- create database in mongodb (1)
- create database mongodb (1)
- create iam policy for route53 (1)
- creating docker image (1)
- creating subdomain api (1)
- cvc-enumeration-valid: Value 'UPDATE' is not facet-valid with respect to enumeration (1)
- Device: /dev/sda1 (1)
- digitalocean (1)
- docker hub (1)
- docker info (1)
- docker install (1)
- docker install ubuntu (1)
- docker machine (1)
- docker machine amazon linux (1)
- docker machine redhat (1)
- docker machine ubuntu (1)
- docker ubuntu (1)
- docker ubuntu 14.04 (1)
- docker version (1)
- docker-engine : Depends: libsystemd-journal0 (1)
- docker-engine issue (1)
- dynamodb (1)
- dynamodb api (1)
- dynamodb local (1)
- dynamodb pricing (1)
- ec2 image will be stored in aws s3. cheapest storage in aws (1)
- ec2 instance types (1)
- ec2 with elastic ip (1)
- eip (1)
- elastic block storage (1)
- elastic ip (1)
- elastic ip charges (1)
- Error starting instances (1)
- getting aws issues (1)
- homebrew mac osx (1)
- how to create aws diagrams (1)
- how to create dynamic subdomain (1)
- how to get docker status (1)
- how to install nodejs on ubuntu 16.04 (1)
- how to install comodo ssl (1)
- how to install mongodb on ubuntu (1)
- how to install nodejs in redhat (1)
- how to register domain aws (1)
- how to setup aws vpc (1)
- how to start docker (1)
- how to use aws vpc (1)
- how to use comodo ssl (1)
- how to use route53 (1)
- how to use vc (1)
- http to https redirection ec2 instance (1)
- iis https redirection (1)
- insalling comodo ssl (1)
- install amazon web services cli (1)
- install aws cli (1)
- install cli (1)
- install docker (2)
- install docker in aws (1)
- install docker ubuntu (2)
- install docker ubuntu 14.04 (1)
- install homebrew mac osx (1)
- install mongodb linux (1)
- install mongodb mac (1)
- install mongodb ubuntu (1)
- install mongodb ubuntu 16.04 (1)
- install mongodb windows (1)
- install nodejs (1)
- install nodejs in redhat (1)
- Invalid login: 535 Authentication Credentials Invalid (1)
- Invalid value 'i-08cbb15' for instanceId (1)
- InvalidInstanceID (1)
- lambda (1)
- lambda aws (1)
- lambda function aws (1)
- lambda lambda lambda (1)
- missing credentials in config (1)
- mongodb features (1)
- mongodb install ubuntu (1)
- mongodb scalability (1)
- mongodb server (1)
- mongodb ubuntu 16.04 (1)
- mongoose create database (1)
- mongoose mongoldb (1)
- mongoose nodes (1)
- nginx https redirection (1)
- No package httpd24 available (1)
- No package mysql55-server available (1)
- No package php56 available (1)
- No package php56-mysqlnd available (1)
- node js mongoose (1)
- node mongoose (1)
- node redhat (1)
- nodejs centos (1)
- nodejs docker image (1)
- not authorized to perform: route53:ChangeResourceRecordSets on resource: (1)
- object storage vs block storage (1)
- object store (1)
- online training amazon web services (1)
- online training ec2 (1)
- Orchestration in aws (1)
- Orchestration worrkflow (1)
- Permission denied (publickey) when SSH Access (1)
- php (1)
- pointing domain using route53 (1)
- redhat (1)
- redhat nodejs (1)
- registering subdomain (1)
- Request would have succeeded (1)
- route53 access denied (1)
- run mongodb mac (1)
- run mongodb ubuntu (1)
- run mongodb windows (1)
- run nodejs without sudo (1)
- security group best practices (1)
- security group inbound outbound (1)
- sharding features in mongod (1)
- start docker at reboot (1)
- storage area network (1)
- The pending instance AWS (1)
- tomcat admin (1)
- tomcat admin permissions (1)
- tomcat ubuntu (1)
- tomcat users (1)
- Traditional Architecture vs microservices (1)
- ubuntu 16.04 tomcat (1)
- ubuntu docker install (1)
- UnknownEndpoint: Inaccessible host aws (1)
- use of microservices (1)
- virtual private network (1)
- webservices subdomain (1)
- What are microservices (1)
- what are the domains in cloud (1)
- what is amazon vpc (2)
- what is aws diagram (1)
- what is aws ebs (1)
- what is aws ecs (1)
- what is aws route53 (1)
- what is aws s3 storage (1)
- what is block storage (1)
- what is elastic ip (1)
- what is object storage (1)
- what is Orchestration (1)
- what is sharding in mongodb (1)
- what is vpc (2)
- when to use aws ecs (1)
- when to use aws s3 (1)
- where to use ssl (1)
- why amazon elastic cache (1)
- why aws (1)
- why aws ecs (1)
- why elastic ip (1)
- why Orchestration (1)
- why route53 (1)
- why sharding (1)
- why vpc (2)
- why we need microservices (1)
- Why would i need Microservices (1)
- wordpress (1)
- ws security group ipv6 (1)
- yum (1)
- yum install httpd24 php56 mysql55-server php56-mysqlnd (1)