Skip to content

Instantly share code, notes, and snippets.

@faermanj
faermanj / handler.js
Last active July 16, 2017 16:52
Simple URL Shortener
const urls = {
"":"",
"sec-job0": "https://www.youtube.com/watch?v=T7MnJOfOVcY",
"sec-overview": "https://d0.awsstatic.com/whitepapers/aws-security-whitepaper.pdf",
"aws-tue": "https://www.youtube.com/watch?v=AyOAjFNPAbA",
"gist":"https://gist.github.com/jfaerman/546902c79d21e53c3a724d00a30566f2"
}
function lookup(path) {
var url = urls[path]
@faermanj
faermanj / Review.md
Created May 19, 2017 13:37
AWS Live Coding on Twitch.TV/AWS

Application Delivery (S3 & CloudFront)

Serverless API (Lambda & API Gateway)

User Pools & Authentication (Cognito)

NoSQL Databases (DynamoDB, ElastiCache & DAX)

SQL (RDS, Redshift, Athena)

Real-time streams (Kinesis Streams & Analytics)

Machine Learning (Machine Learning, Rekognition, Polly & Lex)

@faermanj
faermanj / README.md
Created May 4, 2017 14:37
Hot vs. Cold Analytics

Today´s episode notes:

@faermanj
faermanj / README.md
Last active April 20, 2017 17:14
SQL vs NoSQL

The decision between SQL and NoSQL databases can be challenging in new projects with great expectations. Choosing the comfort of SQL, one risks not reaching the proper abstraction or scale. Daring a new NoSQL database, developers usually face the learning curve of new abstractions, APIs, query languages and system operations. In this broadcast we will add and scale an SQL database, consider their usage tradeoffs and related services.

DAX

Athena

http://blog.julien.org/2017/03/exploring-gdelt-data-set-with-amazon.html

https://github.com/juliensimon/aws/tree/master/athena/gdelt

@faermanj
faermanj / gist:a372ecb634fed370a50ae0d3495a7653
Created April 6, 2017 15:16
Broadcast 4: Serverless data with DynamoDB
In this broadcast we continue to develop the “cornerstone” of our serverless application. We already addressed content delivery, API invocation and authentication. The next step is storing structured data with DynamoDB and complete our template of a typical application transaction. After this episode, we will have all the components required to build our first features and improve our application towards more complex scenarios.
# Introducing DynamoDB
http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.ProvisionedThroughput.html
# Creating tables and indexes
# Storing and deleting items
# Querying and Scanning tables
@faermanj
faermanj / README.md
Last active March 30, 2017 16:57 — forked from anonymous/README.md
Workshop DynamoDB NoSQL BA
@faermanj
faermanj / README.md
Last active March 19, 2023 13:39
API Authentication with Amazon Cognito

In the previous episodes we implemented the fundamental components of a tyical web application: "static" content and "dynamic" APIs. For each component, we´ve been using the most out of AWS services, such as S3, CloudFront, Lambda and API gateway. But so far we have only been working with public resources. Let us now learn more about user authentication and authorization in two very important services: AWS Identity and Access Management and Amazon Cognito. Even more importantly, let us integrate that within our React application ;)

  • Serverless Architecture Review
  • Introduction to Amazon Cognito
  • Cognito User Pools
  • Cognito Federated Identities
  • Cognito Identity SDK
  • AWS SDKs
  • Integrating with Javascript and React
  • Implementing Authentication Flows
@faermanj
faermanj / README.md
Last active May 8, 2017 04:01
Julio on Twitch.TV/AWS S01E02

Application Delivery on AWS

After creating and publishing a static website in the last broadcast, today we'll develop a web application API to compute and access dynamic data. Starting by the basics of interface design and serverless compute, we´ll explore the most relevant aspects of application integration with AWS backends.

Today's broadcast starts 4pm GMT ( check your local time http://bit.ly/2mLj30j ) and will include:

Understanding Amazon Lambda and Amazon API Gateway

Coding lambda functions in node.js 6.10

https://aws.amazon.com/about-aws/whats-new/2017/03/aws-lambda-supports-node-js-6-10/