Wilson Mar bio photo

Wilson Mar

Hello. Hire me!

Email me Calendar Skype call 310 320-7878

LinkedIn Twitter Gitter Google+ Youtube

Github Stackoverflow Pinterest

An invisible server for the masses


Overview

This tutorial aims to have you ending up with a serverless app running in the Amazon cloud.

It’s assumed that you’re already familiar with the Serverless framework

Multitenancy “not only allowed for higher gross margins, it made it viable to serve small and medium businesses with world-class software  —  at a profit.”

  1. Create an Amazon Web Services account.

    Create a “serverless-admin” user

    This is used to do work under an AWS account Administrator Access policy.

  2. Login to your AWS account
  3. Go to the Identity & Access Management (IAM) page
  4. Click on Users
  5. Click on Create New Users
  6. Enter serverless-admin and click Create
  7. Click on Download Credentials to download the .csv file with the AWS credentials
  8. Click Users on the left
  9. Click on the serverless-admin user
  10. Go to the Permissions tab
  11. Click Attach Policy and select the Administrator Access
  12. Click on Attach Policy

Python

  1. Install Python

  2. Install AWS CLI per https://docs.aws.amazon.com/cli/latest/userguide/installing.html

    pip install --upgrade --user awscli </pre>

    The --upgrade option tells pip to upgrade any requirements that are already installed.

    The --user option tells pip to install the program to a subdirectory of your user directory to avoid modifying libraries used by your operating sytem.

  3. Verify:

    aws --version </pre>

  4. To uninstall:

    pip uninstall awscli </pre>

  5. Obtain AWS Access Key ID

    https://github.com/pmuens/serverless-book/blob/master/04-setup/02-cloud-provider-setup.md

    aws configure

Resources

Social

@AWSLambda

#AWSLambda

@lambda_conf

@lambdatips

More on Serverless

This is one of a series on Serverless computing