CategoryTagArticle

admin

I'm a Full-stack developer

Tag

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
Published date: 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!!!

Recommend

Microservice in a Monorepo
admin22/06/2023

Microservice in a Monorepo
Microservice in a Monorepo
How to secure your API gateway
admin17/04/2024

How to secure your API gateway
In this blog, I will cover the 6 methods that technology leaders need to incorporate to secure and protect APIs.
TypeScript Design Pattern - Proxy
admin11/08/2023

TypeScript Design Pattern - Proxy
Provide a surrogate or placeholder for another object to control access to it.
Newest

How to create scroll animations with Next.js App
admin08/04/2024

How to create scroll animations with Next.js App
A Beginner's Guide to Using AOS Library with Next.js application
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.
How to secure your API gateway
admin17/04/2024

How to secure your API gateway
In this blog, I will cover the 6 methods that technology leaders need to incorporate to secure and protect APIs.
Đ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
Feedback
Name
Phone number
Email
Content
Download app
hotline

copyright © 2023 - AGAPIFA

Privacy
Term
About