Giter VIP home page Giter VIP logo

aws-cdk-ghost's Introduction

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

aws-cdk-ghost's People

Contributors

dependabot[bot] avatar pabloariasmora avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.