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

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.
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.
TypeScript Design Pattern - Builder
admin07/08/2023

TypeScript Design Pattern - Builder
TypeScript Design Pattern - Builder
Mới nhất

Part 4: How to use Redux Toolkit in React
admin18/06/2023

Part 4: How to use Redux Toolkit in React
In this article, I will explain Redux and delve into Redux Toolkit. a collection of tools that simplify using Redux. These tools help make Redux less daunting and easier to use.
Design Patterns
admin07/08/2023

Design Patterns
The design pattern does not be a specific programming language. Almost programming languages might apply design patterns that to resolve a problem repeat.
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.
Đ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