Skip to content

Instantly share code, notes, and snippets.

View nikkaroraa's full-sized avatar
👨‍💻
building!

nikhil nikkaroraa

👨‍💻
building!
View GitHub Profile
@nikkaroraa
nikkaroraa / general-startup.md
Last active October 5, 2020 05:30
General thoughts on startups - Kunal Shah and Bhavin Turakhia

General thoughts on startups - Kunal Shah and Bhavin Turakhia

How much part does curiosity play in being successful?

  • Curiosity is a means to a different end
  • The end is finding insights
  • Insights are shortcuts to big impacts
  • abstractions -> insights -> businesses -> impact
  • most of the indian founders "struggle" their way through, since we are just now aware of the concept of "being curious"
@nikkaroraa
nikkaroraa / aws-monitoring.md
Created October 2, 2020 09:53
AWS Monitoring

AWS Monitoring

Why monitoring is important?

  • Once our applications are deployed, our users don't care how we did it
  • Our users only care that the application is working or not
    • Application latency: will it increase over time?
    • Application outages: customer experience should not be degraded

Monitoring in AWS

@nikkaroraa
nikkaroraa / kunal_shah-beerbiceps.md
Created September 30, 2020 12:09
Kunal Shah sharing his thoughts on future of India, the problems of it, and how it can be improved

kunal shah

  • India is country of really bad salesman

  • Do that extra 5%, that is what really differs from you from the rest

  • What do people want

  • Will they pay for it?

@nikkaroraa
nikkaroraa / serverless.md
Created September 26, 2020 11:56
serverless

Serverless

What's serverless?

  • Serverless is a new paradigm in which the developers don't have to manage servers anymore...
  • Just deploy code
  • Or just deploy functions
  • Initially, serverless === FaaS (Functions as a Service)
  • Serverless was pioneered by AWS Lambda but now it also includes anything that's managed: "databases, messaging, storage, etc"
  • Serverless doesn't mean there are no servers. It means you just don't manage / provision / see them
@nikkaroraa
nikkaroraa / kinesis.md
Created September 25, 2020 08:56
Amazon Kinesis

AWS Kinesis

Overview

  • Kinesis is a managed alternative to Apache Kafka
  • Great for application logs, metrics, IoT, clickstreams
  • Great for "real-time" big data
  • Great for streaming processing frameworks (Spark, NiFi, etc)
  • Data is automatically replicated to 3 AZ
@nikkaroraa
nikkaroraa / sns.md
Created September 25, 2020 08:36
Amazon SNS (Simple Notification Service)

Amazon SNS

  • The "event producer" only sends message to one SNS topic
  • As many "event receivers" (subscriptions) as we want to listen to the SNS topic notifications
  • Each subscriber to the topic will get all the messages (note: new feature to filter messages)
  • Up to 10,000,000 subscriptions per topic
  • 100,000 topics limit
  • Subscribers can be:
    • SQS
    • HTTP/HTTPs (with delivery retries - how many times)
  • Lambda
@nikkaroraa
nikkaroraa / sqs.md
Created September 25, 2020 08:22
Amazon SQS (Simple Queue Service)

Amazon SQS

Standard Queue

  • Oldest offering (over 10 years old)

  • Fully managed service, used to decouple applications

  • Attributes

    • Unlimited throughput, unlimited number of messages in queue
    • Default retention of messages: 4 days, maximum of 14 days
  • Low latency (<10ms on publish and receive)

@nikkaroraa
nikkaroraa / allow-https-elastic-beanstalk.md
Created September 18, 2020 14:17
How to configure HTTPS for Elastic Beanstalk?

How to configure HTTPS for Elastic Beanstalk?

Get a SSL/TLS certificate

This can be done through AWS's Certificate Manager service.

Click here to view the steps

Open HTTPS port on the load balancer

@nikkaroraa
nikkaroraa / route53-cloudflare.md
Created September 18, 2020 13:53
How to use Route 53 on top of Cloudflare

How to use AWS's Route 53 on top of Cloudflare?

Configure Route 53

  • Create a Public Hosted Zone in Route 53
  • Create a simple record for the domain you want, and where do you want to target that domain to?
  • By now, you should have 3 records under the hosted zone that you just created
    • NS
    • SOA
  • A
@nikkaroraa
nikkaroraa / elastic-beanstalk.md
Created September 18, 2020 07:38
Elastic Beanstalk

Elastic Beanstalk

Common use cases

  • Setup infrastructure for your web app
  • Create your application on a broad set of curated platforms
  • Scale infra for your app based on demand
  • Automatically apply patches and security fixes
  • Load-balance traffic for higher availability
  • Monitor the health of your app