Danh mụcThẻBài viết

admin

I'm a Full-stack developer

Thẻ

Linked List
Data Structure
Chat GPT
Design Pattern
Microservices
API
AWS CDK
ReactJS
AWS Lightsail
Flutter Mobile
Part 1: How to deploy Ghost Blog on AWS using Lightsail
Ngày đăng: 17/06/2023

In this article, I want to introduce about how to deploy Ghost Blog on AWS using Lightsail. Before going straight, I would like to summary about the definitions of ghost, aws Lightsail, and why to choose Ghost.


What is Ghost?



Ghost is an open-source content management system (CMS) platform built in JavaScript language, running on the Nodejs platform.

Ghost CMS is a platform that does not cater to the creation of complex websites but is focused on creating blogs and other similar applications.


What is AWS Lightsail?



AWS Lightsail is a virtual private server (VPS) provider for small businesses, students, or people who need a solution to build and host their applications in the cloud.

AWS Lightsail helps you get started with a project quickly because it includes everything you need: servers, databases, DNS, CDN, .... for a possible low price. predictable.


Why choose Ghost, not WordPress?



There are 2 main reasons that I choose Ghost:


  • Firstly, I am a programmer using the Nodejs platform and coding in JavaScript language, ... so I choose Ghost to blog. In addition, I want to learn more about how Ghost works.
  • Secondly, When it comes to blogging platforms, everyone mentions WordPress because it's incredibly popular. I like to go against the crowd, want to explore, want to challenge myself with things that few users choose.


Setup Ghost Blog in AWS Lightsail


Create a server with a Ghost blog


  • Open AWS console URL
  • Type lightsail in the search box and click Lightsail on the search results.




  • Click Create instance to create an instance.




  • Select the Region (Virginia) for your Instance Location.




  • Choose a platform (Linux/Unix)


  • Select the Ghost app




  • Select the size instance you need.




  • Typing instance's name and then click Create instance




  • Finally, after a few minutes, you will see your instance running



Get the default password to access the dashboard page



  • Select the Connect tab and click Connect using SSH to connect to the server




  • After successful connection, type the command below


cat $HOME/bitnami_application_password


Attach static IP to your instance

Select the Networking tab then click Create Static IP



Check the results

On a web browser, type the URL http://<PublishIp> to see your Ghost website




  • Go to the administrator dashboard. You type the URL http://<PublishIp>/ghost


email: user@example.com
pass: Chuỗi ký tự bạn có được tại bước thứ 2



At this point, you've got a blog of your own.


Thank you for reading and experimenting!!!

Đề xuất

NodeJS Verify and Decode Cognito JWT Tokens
admin12/06/2023

NodeJS Verify and Decode Cognito JWT Tokens
In this article, I will show you how to verify and decode the Cognito JWT Tokens token.
🚀 Using Bitwise Oprators to build a RBAC in Node.js 🚀
admin13/04/2024

🚀 Using Bitwise Oprators to build a RBAC in Node.js 🚀
In this article, I will illustrate to you how to build an RBAC in Node.js using Bitwise Operators.
TypeScript Design Pattern - Prototype
admin07/08/2023

TypeScript Design Pattern - Prototype
The prototype pattern is one of the Creational pattern groups. The responsibility is to create a new object through clone the existing object instead of using the new key. The new object is the same as the original object, and we can change its property does not impact the original object.
Mới nhất

TypeScript Design Pattern - Singleton
admin07/08/2023

TypeScript Design Pattern - Singleton
The singleton ensures only a single install is created in a class and provides a method to access this instance everywhere in a codebase.
Create Cognito User Pool with AWS CDK
admin09/06/2023

Create Cognito User Pool with AWS CDK
In the previous post, I showed you how to create a simple S3 bucket. Next, in this article, I will guide you to create a Cognito User Pool.
TypeScript Design Pattern - Prototype
admin07/08/2023

TypeScript Design Pattern - Prototype
The prototype pattern is one of the Creational pattern groups. The responsibility is to create a new object through clone the existing object instead of using the new key. The new object is the same as the original object, and we can change its property does not impact the original object.
Đinh Thành Công Blog

My website, where I write blogs on a variety of topics and where I have some experiments with new technologies.

hotlinelinkedinskypezalofacebook
DMCA.com Protection Status
Góp ý
Họ & Tên
Số điện thoại
Email
Nội dung
Tải ứng dụng
hotline

copyright © 2023 - AGAPIFA

Privacy
Term
About