Showing posts with label AWS. Show all posts
Showing posts with label AWS. Show all posts

December 8, 2022

Steps to set up new AWS EC2 instace to deploy NodeJs application

 



Follow below steps to set up new NodeJs application on AWS EC2 instance:

1. AWS - Create new instace (Download .pem file)

2. Connect EC2 install using .pem file (sudo ssh -i <.pem file full path> ubuntu@<instace Public IPv4 address>)

2. Install nginx (sudo apt install nginx)

3. Install NodeJs (sudo apt install nodejs)

4. Install NPM (sudo apt install npm)

5. Install postgreSQL (sudo apt install postgresql postgresql-contrib)

6. Allow port(5432) for postgreSQL: Goto > instace > Security > Security Groups > Edit inbound rules > Add rule

6. Install git (sudo apt-get install git)

7. Install pm2 to run Node application (https://www.npmjs.com/package/pm2)

8. Now server ready to used you need to get git clone of your project repository.


Enjoy!

November 16, 2022

Steps to point GoDaddy Domain to AWS Route 53.



 

This post guide you to point any GoDaddy Domain to AWS Route 53 service. It's very easy process. Please follow steps. it's help you to host GoDaddy domain with AWS Route 53.


- First of fall sign in to AWS Console

- Go to Route 53 service on AWS

- From left side menu go to Hosted Zone and create new Hosted Zone

- Insert domain and select public hosted zone option

- Save name server form

- Now hosted zone created and it's generate NS(name server) and Route trafic to DNS name

- Now sing in to Godaddy account and go to product manager

- Click on DNS option for the domain you want to point and go to DNS settings

- Add new DNS record, there are four fileds type, name, value and TTL

- Type: Select 'NS'

- Name: type '@'

- Value: Copy from created hosted zone one by one to insert all

- TTL: Select 1 Hour



Note: After this process complete all are good but it's take some time to point DNS.

Enjoy!

The Future of Technology: Emerging Trends to Watch in 2025

Introduction As we navigate through 2025, the technological landscape continues to evolve at an unprecedented pace. Innovations that once se...