Category Node.js-AWS
Share experience about Node.js-AWS
Setting Up Next.js on AWS EC2 Instance
10/2/2021·1 min read
Next.js is a React-based web application framework built on top of Node.js web application, AWS EC2 is Amazon AWS Service's cloud computing which hosts the VM in the cloud. In this tutorial, we will manually create an EC2 instance and then SSH into the instance and install and set up the Next.js.
How to Setup Swagger with Next.js
9/9/2021·8 min read
This blog walk through how to use Swagger / OpenAPI to add API document to Next.js, a node.js framework. It will cover how to create to API at Next.js and add API Document with Swagger by swagger-jsdoc and swager-ui-react.
How to Setup Swagger OpenAPI with Express.js
7/1/2021·13 min read
This blog walk through how to use Swagger / OpenAPI to add API document to the Express.js, node.js framework, it will cover how to create to API at Express.js and add API Document with Swagger by using OpenAPI 3.0 specification.
How to Setup Swagger with Nest.js
3/1/2021·3 min read
This blog is about how to setup Swagger / OpenAPI with Nest.js, a progressive Node.js framework, it will cover how to define few sample API and how to enable Swagger UI at Nest.js.
Use Lambda with Node.js to Insert Data Into DynamoDB
6/1/2021·3 min read
This blog show how to create AWS Lambda with Node.js and insert record into DynamoDB, also shows manully deploy Lambda as package to AWS from the your local develop environment.
How to Deploy Lambda with Node.js with Package Dependencies
5/6/2021·4 min read
AWS Lambda is serverless compute service and let you run code at AWS's managing servers on the cloud, you will only worry about your code and AWS will manage the underneath servers. This blog is trying to show how to get start with Lambda by use Node.js with package dependencies, the code will include one dependency module util, it'll will use zip to compress the index.js and node_modules folder.
How to Deploy Lambda with Node.js without Dependencies
5/3/2021·3 min read
AWS Lambda is serverless compute service and let you run code at AWS's managing servers on the cloud, you will only worry about your code and AWS will manage the underneath servers. This blog is trying to show how to get start with Lambda by use Node.js with No package dependencies.
How to Self-Hosted Sentry.io at AWS EC2
5/1/2021·3 min read
This blog shows how to self-hosted Sentry.io with AWS EC2.
How to Pass AWS Certified SysOps Administrator - Associate SOA-C02 - Study Question List
3/1/2021·5 min read
Starting from July 27, 2021, the AWS Certified SysOps Administrator - Associate exam has been updated, the exam changed from SOA-C01 to SOA-C02. This blog will help to prepare for the exam base on their exam guide. Below are setlist of question during the review for the exam guide, these are just a few questions when we reading the guide, it won't guarantee to pass the exam if you know all but at least will help you better to prepare the exam.
How to Collect Memory Disk Usage By Using CloudWatch Agent
3/20/2021·2 min read
This blog provides a quick guide on how to set up CloudWatch Agent manually on EC2 Linux Instance, CloudWatch Agent enables you to collect system or custom metrics from Amazon EC2 instances across operating systems. You can install CloudWatch Agent on AWS Cloud or on-promise server, Linux, or Windows as well.
How to Setup a HTTPS Node JS Server on Amazon EC2
3/1/2021·10 min read
This blog is a complete guide that shows how to set up HTTPS node.js webserver on EC2 from beginning to end. It'll include how to set up a simple Express.js web app on EC2, how to create an SSL/TSL certificate by using AWS Certificate Manager, how to setup AWS application load balancer and create redirect rule from non-www to www, HTTP to HTTPS, and how to use Route 53 to configure a route from your custom domain to the AWS application load balancer. This blog will assume using example.com, at the end of the blog, we'd like all the http://example.com, http://www.example.com, https://example.com redirect to https://www.example.com.
List of AWS CloudTrail Record Fields
3/7/2021·3 min read
AWS CloudTrail helps you record all API call at your AWS account, it enables you to detect who is making what kind of changes to the AWS environment.
How to Send Application Logs from EC2 to CloudWatch Logs
3/2/2021·3 min read
This blog shows how to send application logs from Amazon Linux 2 EC2 Instance to AWS CloudWatch logs, it'll include how to set up and configure.
How to Use CloudWatch Logs Insights to Analyze Logs
3/5/2021·1 min read
Here, I provide examples of how to use CloudWatch Insights to search or analyze log data in CloudWatch logs. You can query to one Log group or multiple logs together to analyze the data, you can also save the query and save the result to the CloudWatch dashboard as well.
How to Send MongoDB Logs to CloudWatch Logs
3/5/2021·1 min read
This blog shows how to send MongoDB log files to AWS CloudWatch logs, you can spend multiple logs to the AWS CloudWatch logs by defining the awslogs.config file.
How Much does CloudWatch Logs Cost
2/15/2021·2 min read
So CloudWatch logs are not free, but there's no up-front cost and the price is cheap to get started. Here are few things you can pay attention for the CloudWatch logs.
How to Get Start with Node.js
5/31/2014·2 min read
A sample code about how to use Node.js to create a simple web server.
How to Backup DynamoDB Data to Different AWS Account
2/13/2021·5 min read
This blog shows how to migrate DynamoDB data between different AWS Account. You can migrate DynamoDB by using different approaches. 1. AWS S3 with AWS Glue. 2. Data Pipeline. 3. Amazon EMR, here, we'll use S3 and focus on how to move DynamoDB backup data into different AWS account.
How to Redirect HTTP to HTTPS on Amazon Linux with Node.js
5/2/2020·3 min read
This blog shows how to redirect from HTTP to HTTPS by using Nginx at Amazon Linux EC2 Instance.
How to Get Start by Using Express.js
6/7/2014·1 min read
This blog will show how to use Express.js default template on your local machine. Also deploy it to the cloud to verify it working. The IDE using at this blog is Sublime Text and Cloud9 IDE.
How to Use Ghost Blog CRM Platform
7/31/2015·1 min read
This blog provides basic information about how to use Ghost Platform, after how to install Ghost.
How to Keep Node.js Running at Linux Server
8/2/2014·1 min read
This blog shows how to use nohup + repawn.js to keep node.js web application running. Node.js/Express.js is great for Web API’s and applications. In contrast to known enterprise technologies, Node.js is very special. It’s a single process/threaded environment. If an unhanded exception occurs, the Node.js virtual machine simply stops, leaving the application in an unresponsive state. Due to the async nature of Node.js, try/catch doesn't always work, even with domains and stuff you have a chance that the application crashes on production while you sleep. from http://java.dzone.com/articles/how-keep-nodejs-processes. This's node.js, it's different.
How to Setup Ghost as Intranet Network
7/31/2015·1 min read
So following How to setup Ghost(node.js) at window server, you could setup Ghost at Production server or use as local development. This blog show how to setup as Production but use inside the company's network as Intranet.
Share S3 Bucket Between AWS Account
1/13/2020·1 min read
This blog shows how to share an s3 bucket cross different AWS account.
Blocking Traffic from Specific IP Address with AWS Network ACL
3/2/2020·1 min read
This blog shows few ways of use AWS Network ACLs to block traffic to your site.
How to Retrieve EC2 Instance Meta Information
4/1/2020·1 min read
Few commands to get information for EC2 meta information.
How to Setup AWS Application Load Balancer
2/4/2020·1 min read
This blog will show how to create an AWS application load balancer with custom VPC's EC2 instances.
Code Snippet - How to Access Query String at Node.js
5/2/2014·1 min read
Sample Code snippet how to access querystring at Node.js.
Create AWS Classic Load Balancer
3/4/2020·1 min read
This blog shows how to use AWS classic Load Balancer from scratch, first we need to do some preparation. At the end of the setup, you'll set up 2 EC2 instances with the public subnet.
How to Create AWS Organization - For Consolidated Billing
2/11/2020·1 min read
If you just have 1 AWS account, you could just use that account for billing and development. However, if you have multiple AWS accounts, it is hard to manage each account's billing, so AWS has a way that is using AWS Organizations to consolidate billing.
How to Set Up Billing Alarm in AWS
1/14/2020·1 min read
This blog shows how to set up billing alarms in AWS.
How to Use npm live-server
3/3/2016·1 min read
How to use npm package live-server.
Use AWS Elastic IP Address
4/9/2020·1 min read
This blog will show how to use AWS elastic IP to assign to EC Instance.
Code Snippet - Return Json Response for Express.js
7/5/2014·1 min read
A Sample Code Snippet for creating API return JSON object.
How to Use MongoDB TextSearch by Mongoose
8/2/2014·1 min read
How to use MongoDB text search
How to Use Different Environment Config with Node.js
5/3/2014·1 min read
How to use environment config with Node.js.
How to Increase AWS EBS Volume Size
12/11/2020·1 min read
This quick note shows how to increase AWS EC2 Linux's EBS volume size.
SSH to EC2 Instance from Mac OS
1/23/2020·1 min read
This blog shows how to connect to AWS Linux or Ubuntu from Mac OS
SSH to EC2 Instance via EC2 Instance Connect
1/18/2020·1 min read
This blog shows how to use AWS Instance Connect to SSH to AWS EC2 Instance.
Use VPC Flow Logs
3/11/2020·1 min read
This blog shows how to set up VPC flow logs.
SSH to EC2 Instance via Chrome Extension Secure Shell
1/19/2020·1 min read
This blog shows how to ssh to EC2 Instance via Chrome Extension Secure Shell.
How to Run Node.js as Background by Using Forever
4/30/2014·1 min read
How to use forever to run Node.js as background.
Gulp ASP.NET MVC 4.5.2 Template and Browserify
4/1/2016·1 min read
How to Use Gulp ast ASP.NET MVC 4.5.2 Template.
List of Useful Links about Ghost Blog Platform
7/31/2015·1 min read
List of links and tips for Ghost Blog Platform.
How to do S3 Cross Region Replication
1/21/2020·1 min read
This blog shows how to using s3 replication within your current AWS account.
How to Deploy Node.js App to the AWS Elastic Beanstalk
1/1/2019·1 min read
How to deploy a Node.js app to AWS Elastic Beanstalk.
Provision AWS EC2 Instance
1/23/2020·1 min read
This blog shows how to create EC2 instance.
How to Use Forever in Linux for Node.js
5/31/2014·1 min read
Forever is an npm package, this blog shows how to use it.
How to Create VPC with Public and Private Subnet
2/12/2020·1 min read
This blog shows how to create AWS VPC from scratch.
How to Handler 500 Error at Express.js
6/14/2014·1 min read
Sample code about how to handler 500 error at Express.js
Create DynamoDB Table Locally
12/30/2020·1 min read
This blog will show how to create a DynamoDB table in your local environment.
How to Setting up DynamoDB Locally
12/12/2020·1 min read
This blog I'll show how to set up DynamoDB locally, also show a few simple codes to access local DynamoDB.
Move DynamoDB Table from Local to AWS Cloud
12/31/2020·1 min read
This blog shows how to move DynamoDB local table and data to the DynamoDB Web Service, unlike SQL Database, you can use the backup file to restore to a different environment.
Backup AWS DynamoDB Table to Local
12/31/2020·1 min read
This blog shows how to backup your AWS DynamoDB table (on the cloud) to your local DynamoDB environment.
Upload to AWS S3 By Using Node.js
1/16/2021·1 min read
This blog is to show some sample code that how to upload files to AWS by Node.js.
How to Use nconf for Environment Configuration at Node.js
3/2/2020·1 min read
This blog shows how to use nconf for Node.js environment configuration.
How to Find Record from MongoDB with Node.js and Mongoose
9/11/2020·1 min read
This blog will show a tutorial about how to find data into MongoDB by using Node.js with Mongoose.
How to Insert Data into MongoDB with Node.js and Mongoose
7/11/2020·1 min read
This blog will show a tutorial about how to insert data into MongoDB by using Node.js with Mongoose.
How to Delete Data from MongoDB with Node.js and Mongoose
8/11/2020·1 min read
This blog will show a tutorial about how to delete data from MongoDB by using Node.js with Mongoose.
How to Update MongoDB Data with Node.js and Mongoose
8/11/2020·3 min read
Build and Deploy with AWS CodePipeline
3/1/2019·4 min read
How to Run Keystone.js within IIS
8/1/2015·2 min read
A instruction of how to install node.js keystone at windows 7 IIS as web application.
Few Ways to Handler Environment Config at Express.js
8/2/2014·1 min read
Config for your application is very important, because your testing, development and production is going to have different enviroment variable. This blog show few choice of using config at Node.js.
How to Use Grunt with Keystone.js for Minify CSS, Javascript and HTML
2/2/2016·8 min read
How to Use Grunt to setup task at Keystone.js for minify CSS, Javascript, HTML
Few Free Node.js Web Application for Web Developers
7/3/2015·1 min read
Few List of web application framework build on top of node.js
Start Use Gulp and Browserify to Build Angular App with Node.js
4/2/2016·5 min read
How to Install Node.js Ghost Blog Platform
6/3/2015·1 min read
Shows how to install Ghost node.js platform
How to Setup MongoDB Text Search with Node.js
3/20/2016·12 min read
Code Snippet - How to Handler Redirect within Node.js
5/3/2014·2 min read
at node.js server side, you want to redirect to another url after you success get response from one api.
you can try use request module.
How to Run Ghost Blog Platform at IIS
8/1/2015·3 min read
This is about how to setup Ghost to run at IIS Web Server.
How to Create a Simple Angular Contact Form at Keystone.js
11/2/2015·11 min read
Angular.js with keystone.js
A Simple Design to Use Ghost Blog Platform with Visual Studio
8/1/2015
architecture of ghost in windows system.
Few Useful Command Line Commands for Node.js
4/16/2016
How to Get Start with Mongoose
6/22/2014
This article provide information for you to get start with mongoose.
How to Debug Node.js Code with Visual Studio
2/1/2016
How to debug node.js app in visual studio.
Code Snippet - How to do Async Programming in Node.js
7/6/2014
A shot sample code to describe how to use npm async module waterfall process.
Since node.js, mongoose is async, if want to process your logic like, update step 1 do setup 2 and more. Use async module is one way.
Stop Using Visual Studio 2013 with Node.js Project
1/1/2016
Stop using Visual Studio with Node.js Project
How to Use Yeoman, Brower, Grunt, Angular.js and Node.js
6/8/2014
Get Start Yeoman, Grunt and Brower with AngularJS, NodeJS
I really like work with this fast, modern web development after try a simple html template provide by Yeoman. Run the build task with Grunt, search additional library with Brower. All that make the web development very simple and fast. In additional with client side technology AngularJS and backend-side NodeJS.