Mon, 21 May 2018 16:28:13 +0100

How to Serverless from scratch

Links to the tool Up

Links to the AWS console

AWS credidentials file which should be in this location ~/.aws/credentials:

aws_access_key_id = XXXXXX
aws_secret_access_key = XXXXXX

The up.json config file

  "name": "awesome-bear"

My app.js file

const http = require('http')
const PORT = process.env.PORT || 3000
http.createServer((req, res) => {
  res.end('Hi Serverless World')

How to install up:

curl -sf | sh

Commands I am running

$ up
$ up url
$ up url -s production
Tags: #serverless


I will write once a while about what I do!

Previous post:Aframe with Oculus Go is great WebVR
Newer post:How we do Docker Multistage builds and share Github private repositories