Skip to content

Instantly share code, notes, and snippets.

Avatar
😎
drinking from the firehose...

Rupak Ganguly rupakg

😎
drinking from the firehose...
View GitHub Profile
@rupakg
rupakg / [1.A] Steps for GKE
Created Mar 24, 2021 — forked from lucasponce/[1.A] Steps for GKE
Istio Cookbook: Kiali Recipe
View [1.A] Steps for GKE
[1] Open https://console.cloud.google.com/ with your gmail account
[2] Create a Project / Choose a Project you have access to.
[3] Activate "Cloud Shell"
[4] Prepare a GKE cluster using
https://istio.io/latest/docs/setup/platform-setup/gke/
export PROJECT_ID=`gcloud config get-value project` && \
@rupakg
rupakg / how-to-create-a-rest-api-in-java-using-dynamodb-and-serverless.md
Last active Feb 22, 2021
Post: How to create a REST API in Java using DynamoDB and Serverless
View how-to-create-a-rest-api-in-java-using-dynamodb-and-serverless.md

How to create a REST API in Java using DynamoDB and Serverless

Build a serverless REST API service in Java, store the data in a DynamoDB table, and deploy it to AWS. All using the Serverless Framework.

Published on April 16th, 2018 at https://serverless.com/blog/how-to-create-a-rest-api-in-java-using-dynamodb-and-serverless/

thumbnail

In this walkthough, we will build a products-api serverless service that will implement a REST API for products. We will be using Java as our language of choice. The data will be stored in a DynamoDB table, and the service will be deployed to AWS.

image

@rupakg
rupakg / serverless-application-for-long-running-process-fargate-lambda.md
Last active Dec 15, 2020
Post: How to use AWS Fargate and Lambda for long-running processes in a Serverless app
View serverless-application-for-long-running-process-fargate-lambda.md

How to use AWS Fargate and Lambda for long-running processes in a Serverless app

Build an ETL job service by fetching data from a public API endpoint and dumping it into an AWS Redshift database.

Published on Jan. 11th, 2018 at https://serverless.com/blog/serverless-application-for-long-running-process-fargate-lambda/

thumbnail

AWS dropped so many serverless announcements at re:Invent, the community is still scrambling to make sense of them all. This post is all about AWS Fargate.

In this article, I will show you how to create an end-to-end serverless application that extracts thumbnails from video files. But, oh no, processing video files is a long-running process! Whatever will we do?

@rupakg
rupakg / ckad-bookmarks.html
Created Apr 30, 2020 — forked from runlevl4/ckad-bookmarks.html
CKAD Bookmarks (** indicates example source) [originally sourced from https://github.com/nikhilagrawal577/ckad-notes]
View ckad-bookmarks.html
<!DOCTYPE NETSCAPE-Bookmark-file-1>
<!-- This is an automatically generated file.
It will be read and overwritten.
DO NOT EDIT! -->
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">
<TITLE>Bookmarks</TITLE>
<H1>Bookmarks</H1>
<DL><p>
<DT><H3 ADD_DATE="1576816453" LAST_MODIFIED="1578776782">CKAD</H3>
<DL><p>
@rupakg
rupakg / nano-shorts.md
Created Feb 26, 2020 — forked from franz-josef-kaiser/nano-shorts.md
nano keyboard shortcuts
View nano-shorts.md

^ = Ctrl key M = Alt key

^G      (F1)            Display this help text
^X      (F2)            Close the current file buffer / Exit from nano
^O      (F3)            Write the current file to disk
^J      (F4)            Justify the current paragraph

^R      (F5)            Insert another file into the current one
View Restore backup db to MongoDB Docker Container
docker container id - 8c37a950839a
# Make sure that the `/var/backups` folder is clean inside the container
# 1. Copy Mongo dump to container folder
(Local System)$ docker cp dump/reaction 8c37a950839a:/var/backups
# 2. Connect to mongodb docker container
(Local System)$ docker exec -it 8c37a950839a /bin/bash
View stackery-setup-iam-policy.json
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "VisualEditor0",
"Effect": "Allow",
"Action": [
"lambda:CreateFunction",
"cloudformation:ListExports",
"cloudformation:CreateChangeSet",
@rupakg
rupakg / automating-ci-for-python-serverless-app-with-circleci.md
Last active Jul 1, 2019
Post: Automating a CI workflow for a Python app with Circle CI
View automating-ci-for-python-serverless-app-with-circleci.md

Automating a CI workflow for a Python app with Circle CI

There are big benefits to using serverless architectures in continuous integration & deployment (CI/CD) processes. We'll show you why, and how to do it.

Published on Dec. 6th, 2017 at https://serverless.com/blog/ci-cd-workflow-serverless-apps-with-circleci/

thumbnail

I had previously written a post defining the CI/CD process, discussing various deployment patterns, creating a NodeJS app and automating the end-to-end CI flow.

In this post, I will jump straight into creating a Python app and go over the end-to-end process for automating the CI flow.

@rupakg
rupakg / etl-job-processing-with-serverless-lambda-and-redshift.md
Last active Apr 29, 2019
Post: ETL job processing with Serverless, Lambda, and AWS Redshift
View etl-job-processing-with-serverless-lambda-and-redshift.md

ETL job processing with Serverless, Lambda, and AWS Redshift

Build an ETL job service by fetching data from a public API endpoint and dumping it into an AWS Redshift database.

Published on Feb 20th, 2018 at https://serverless.com/blog/etl-job-processing-with-serverless-lambda-and-redshift/

thumbnail

One of the big use cases of using serverless is ETL job processing: dumping data into a database, and possibily visualizing the data.

In this post, I'll go over the process step by step. We'll build a serverless ETL job service that will fetch data from a public API endpoint and dump it into an AWS Redshift database. The service will be scheduled to run every hour, and we'll visualize the data using Chart.io.

@rupakg
rupakg / company_tools_services.md
Created Feb 25, 2019
Various tools and services for a company
View company_tools_services.md