Skip to main content

๐ŸŒ Chapter 1: Introduction

In this guide, youโ€™ll learn how to set up your own custom domain and deploy a Ghost website using Oracle Cloud Infrastructure (OCI). The site will be served directly through an OCI Load Balancer, ensuring a secure, scalable, and production-ready environment.

By the end of this guide, youโ€™ll know how to:

  • ๐Ÿ›’ Register a domain name
  • ๐ŸŒ Configure DNS zones in Oracle Cloud
  • ๐Ÿ”€ Delegate your domainโ€™s name servers to OCI
  • ๐Ÿ“ฆ Deploy Ghost using Docker containers
  • โš™๏ธ Provision an OCI Load Balancer for traffic management
  • ๐Ÿ” Implement SSL encryption with Letโ€™s Encrypt and Certbot
  • ๐Ÿš€ Launch a fully operational and secure Ghost website

๐Ÿงญ Overview of the Setup Process

Hereโ€™s a high-level overview of the process:

  1. ๐Ÿท๏ธ Choose and register a domain (GoDaddy and Hostinger examples included)
  2. ๐Ÿงพ Create an Oracle Cloud Infrastructure (OCI) account
  3. ๐ŸŒ Set up a public DNS zone for your domain in OCI
  4. ๐Ÿ”„ Update your domainโ€™s name servers to point to OCI
  5. โณ Wait for DNS propagation to complete
  6. ๐Ÿง Provision a VM instance with Debian in OCI
  7. ๐Ÿ’ป Set up an Oracle Linux 7 instance using ARM architecture (recommended for cost-effective performance)
  8. ๐Ÿณ Install and configure Docker to deploy Ghost and Nginx (or Nginx Proxy Manager)
  9. ๐Ÿ“ก Configure the OCI Load Balancer to route traffic to your instance
  10. ๐Ÿ›ก๏ธ Set up SSL certificates using Certbot and Letโ€™s Encrypt
  11. โœ… Validate the configuration and deploy your site to production