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

TypeScript Design Pattern - Abstract Factory
admin07/08/2023

TypeScript Design Pattern - Abstract Factory
The abstract factory pattern is one of five design patterns in the Creational Design Pattern group. The abstract factory provides an interface for creating families of related or dependent objects without specifying their concrete classes.
TypeScript Design Pattern - Proxy
admin11/08/2023

TypeScript Design Pattern - Proxy
Provide a surrogate or placeholder for another object to control access to it.
Mới nhất

How to integrate ChatGPT-3.5 Turbo into Node.js
admin10/01/2024

How to integrate ChatGPT-3.5 Turbo into Node.js
Step-by-Step Guide to Incorporating ChatGPT-3.5 Turbo into Node.js for Basic ReactJS Applications
Microservice in a Monorepo
admin22/06/2023

Microservice in a Monorepo
Microservice in a Monorepo
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.
Đ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