Skip to content

End to end serverless deployment including app code, container image build, IaC + state management and CI

Notifications You must be signed in to change notification settings

SRodi/e2e-serverless-deployment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

End to End Serverless Deployment

This repo contains all code required to deploy a Go Serverless application with IBM Cloud Code Engine

Features

  1. Code example for a simple HTTP web server
  2. Configuration to create a container image
  3. Terraform Infrastructure as Code (IaC) to create a serverless deployment with IBM Cloud Code Engine
  4. Continuous Integration (CI) with GitHub action
  5. Terraform runtime and state management with IBM Cloud Schematics

Quick Start

Each subdirectory contains its own README.md to provide info about the implementation, requirements and instructions for each project component.

Directories:

  • go/: Source code for go application
  • docker/: Dockerfile to create Docker image for go application
  • schematics/: Scripts to interact with IBM Cloud Schematics
  • terraform/: Terraform project with definition files to create IBM Cloud Code Engine serverless project and app via IaC

Prerequisites:

  1. Access to an IBM Cloud account
  2. DockerHub account
  3. GitHub account

High level steps:

  1. Fork this repo
  2. Configure Secrets in GitHub repo settings (see .github/workflows/README.md)
  3. Create a Schematics workspace based on your repo (see schematics/README.md)
  4. Replace this URL with your repo URL
    "url": "https://github.com/SRodi/e2e-serverless-deployment"
  5. (Optional) Update the Docker image name to reference your own image
    image = "srodi/go_http:latest"

About

End to end serverless deployment including app code, container image build, IaC + state management and CI

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published