Skip to content

Shared resources and instructions for the 24 August Meetup

Notifications You must be signed in to change notification settings

appcd-demo/devinfra-aug-2024

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

Meetup : Deploy Serverless Infrastructure

Check Setup

curl -sL https://git.io/_has | bash -s terraform aws git zip unzip python3

Setup


Workshop: hello-kitty

on appcd

  • set filename to app.zip
  • enable function url
  • environment variable: IMAGES_BUCKET=>

clone the lambda source repo

  • clone hello-kitty, cd hello-kitty
  • make build and copy build/app.zip to exported IaC folder

deploy exported IaC

  • copy above zip file in the directory where we exported

  • run terraform apply

  • cd hello-kitty

  • copy images to the s3 bucket

    • aws s3 cp images/ s3://<your-bucket-name>/ --recursive
  • terraform output

    • aws cli `aws lambda get-function-url-config --function-name | jq '.FunctionUrl'
  • Cleanup: terraform destroy

About

Shared resources and instructions for the 24 August Meetup

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published