Coder Social home page Coder Social logo

lambda-comments's Introduction

Lambda Comments

This project implements a minimal blog commenting service hosted on AWS. Originated by Jim Pick, the original project is here:

And Jim's original articles are here:

The Fork

The goal of this fork is to make it easy as possible to setup, install and use the commenting system. In that process some other changes may [ or may not ] occur - for example possibly integrating the code with create-react-app

Repository Installation and Setup

  1. Clone the repository

git clone https://github.com/talkingtab/lambda-comments.git (https)
or
git clone [email protected]: talkingtab/lambda-comments.git (git)

cd lambda-comments

Setup AWS

Note: none of this is authoritative, but simply based on my experience with trying to get lambda-comments to work. Please feel free to submit bugs or pull requests if you have more authoritative information.

To a newcomer, AWS has a bewildering gaggle of component parts: lambda, ECS, cloudfront, cloudformation, and more are added every day including AWS Codestar. These offerings can be broken (in general )into two types: services and infrastructure. AWS lambda lets you spin up small, on demand services, while AWS IAM is the system for creating and empowering users. Both of these are complex.

Infrastructure

AWS begins with an Amazon account which requires a credit card. If you plan to have other people use your AWS system it is recommended that you establish a separate account.

Signing up for AWS establishes a one to one relationship between the Amazon account and AWS. The AWS IAM system allows creation of users that cannot access the controlling Amazon account.

AWS IAM

IAM allows creation of users, adding users to groups (and to creating groups) and just as importantly the creation of policies.

Typically, once you establish an AWS account you would create an IAM account

  1. Go to the AWS management console
  2. Under "services" go to IAM
  3. Select Users
  4. Select Adduser
  5. Create an admin: user name admin, programmatic acces, console access, custom password, no forced reset
  6. Then "next permissions", create group. Groupname: admingroup, "AdministratorAccess", Create Group

This is the admin user (and group) you can use to create other, mission specific users. In particluar note the list of permissions that can be granted.

AWS Codestar

Amazon seems to have recognized the complexity of matching policies to users and has just announced Codestar as a way to ease the pain. We will attempt to follow the Codestar method of developing services.

lambda-comments's People

Contributors

jimpick avatar talkingtab avatar

Watchers

 avatar  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.