Skip to content

This is an open source application designed to showcase the usage of AWS CDK.

License

Notifications You must be signed in to change notification settings

pabloariasmora/aws-cdk-ghost

Repository files navigation

AWS CDK Example - Ghost blog installation on EC2 instance

Awesome Made With Love Top Language

Overview

This repository contains an example of a project for the AWS Cloud Development Kit, here is a tutorial in case that you are not familiar with it. Currently only in TypeScript, there is a guide on how to read TypeScript code and translate it to Python here.

This is an open source application designed to showcase the usage of AWS CDK. Once deployed it will run and AWS EC2 t2.micro Instance with Ghost installed. For more details please check the infrastructure design.

You're welcome to report issues with the documentation here or, if you have a moment, to submit a Pull Request with your suggested changes.

Requirements

  • AWS CDK - 1.31.0 (build 8f3ac79)
  • NPM - 6.14.4
  • Node - v13.12.0

How to run the example

First, install CDK CLI globally

npm install -g aws-cdk

Install required modules

npm install
npm run build

Don't forget to provide region and account information as environment variables.

export ACCOUNT_ID=”XXXXXXXXXXXX" AWS_REGION=”us-east-1"

Deployment - Replace the profile with your AWS profile. If you don’t have any profile setup yet follow the instructions here

cdk deploy  --profile my-profile // Deploys the Infrastructure

Afterwards

cdk destroy

License Summary

This sample code is made available under a modified MIT license. See the LICENSE.md file.

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us. See the list of contributors who participated in this project.

Infrastructure Design

infra diagram

About

This is an open source application designed to showcase the usage of AWS CDK.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published