Overview of Athena, Redshift, Kinesis Firehose, EMR, etc.
Smaller scale:
like a information center
Larger scale:
Like when an e-commerce site is about to launch a new product, and they need to see real-time customer behavior immediately.
Others:
like IAM ...
2024 |
aws
Apache Projects and AWS Services
Since I frequently see ‘xxx service for Apache ooo,’ I made this table out of boredom.
https://projects.apache.org/projects.html
https://docs.aws.amazon.com/emr/latest/ReleaseGuide/emr-whatsnew.html
...
2024 |
aws
emr
JavaScript Bundlers & Transformers
I’ve been using Next.js for a long time, from having to configure everything to now almost zero setup, so I took some time to explore the evolution of JavaScript ecosystem tools.
Nowadays, we almost...
2024
AWS Governance? Protection? Audit?
Security, Identity, & Compliance
Protection against DDoS attacks, with CloudFront, Route53, ELB
Security, Identity, & Compliance
Web-level protection against threats like IP-based filtering, geograp...
2024 |
aws
cloudtrail
inspector
macie
The Confusing assumeRole and Trust Policy
The IAM Role, IAM User, Trust Relationship, Trust…
assumeRole is useful in situations where you don't want to specify users or list a bunch of access permissions for S3. Instead, you only allow user...
2024 |
aws
iam
s3
The Confusing assumeRole and Trust Policy
The IAM Role, IAM User, Trust Relationship, Trust…
assumeRole is useful in situations where you don't want to specify users or list a bunch of access permissions for S3. Instead, you only allow user...
2024 |
aws
iam
s3
Some AWS Logging Tools — CloudWatch, CloudTrail, X-Ray, VPC Flow Logs, etc.
Natively integrated with most AWS services.
Some services automatically create logs for you when you use them.
Eg. EC2, lambda, ECS
Records AWS API calls - who used what service to do what.
Think of...
2024 |
aws
cloudtrail
cloudwatch
Vue Nuxt Dynamic Path Resolution Issue
<img :src="'~assets/cat.png'" />
this one doesn’t work
When I wanted to assign an image path through a variable for the <img> element, I noticed some inconveniences. At first, I thought about simply...
2024 |
Vue
Private Channels in AWS Networking
Non-encrypted high-speed dedicated channel that directly interfaces with AWS services. The key difference lies in the VIF (Virtual Interface) endpoint:
Since it's non-encrypted, you can build VPN on ...
2024 |
aws
networking
AWS Snapshots vs. Backups — Differences in Terms and Service Support
When AWS services store snapshots, configurations, or backups in S3:
Backups and snapshots are similar in description, but with key differences:
Default snapshots prioritize quick recovery and high a...
2024 |
aws
AWS RDS Database Enginesssss Comparison
I read about RDS and thought it would be good to make a comparison. There are many SQL options available in the market, but aside from simple query usage, I haven’t seriously looked into why there a...
2024
use client doesn't guarantee complete client-side rendering
I tried to add window to the dependencies of a useEffect hook in a component declared with use client, but found it's not allowed during next build.
This will throw an error:
This builds normally...
2024 |
Nextjs
How SameSite, Same-Origin, and CORS Partially Block XSS and CSRF Attacks
I’ve read many articles on XSS, CSRF, CORS, and SameSite cookies before, but they were often presented separately, which sometimes left me feeling all mixed up. Therefore, I’ve compiled this overvi...
2024 |
HTTP
AWS Services Spectrum — From Self Managed to Fully Managed, and Serverless
The key difference between these two is "whether you need to adjust the resources used."
This part has a definitive answer, as AWS officially states it clearly LOL
https://aws.amazon.com/serverles...
2024 |
aws
Behind the Scenes: Anycast and Its Impact on CDNs
When looking into content delivery solutions offered by major companies like Cloudflare, Amazon CloudFront, and Google Cloud CDN, you'll find they all provide similar content delivery network service...
2024
EC2 Address — Auto-Assigned Public IP vs. Elastic IP vs. No-IP (DDNS)
No DDNS service is provided; please install No-IP on your EC2 instance.
DDNS (Dynamic DNS) is a service that automatically updates domain name resolution records to accommodate changes in IP addre...
2024 |
aws
ec2
route53
Concurrency in Go: From Basics to Better Practices
When you want to do more than one thing at the same time...
When you first want to do multiple things at once, you might write something like this:
It's pretty dumb, but hey, we all start somewhere...
2024 |
golang
channel
time.Sleep
waitgroup
Django: works with uwsgi, or even works with uwsgi & nginx together
The final architecture of this page will be:
I'm using venv + poetry here:
It's kind of like when you do npm init
I've written golang before and you can use go tidy to automatically register ne...
2024 |
python
django
nginx
socket
uwsgi
Goroutines Hell — A Survival Guide to Panic and Deadlock
In the page, this guide will include:
When it happens:
Your logic is bad
each goroutine try get each other lock
Unlike channel deadlocks which produce immediate fatal errors, mutex deadlocks can be...
2024 |
golang
mutex
panic
The Multi-Core Revolution in CPUs
Around 2007, CPU frequency growth began to slow down or even decrease, but the number of logical cores increased significantly.
Clock speed, clock frequency, and frequency are the same thing in this ...
2024
Cloud Provider Network Architecture Comparison: AWS, Azure, and GCP
This article explores the differences in how the three major cloud providers design and operate network units, focusing on the configurations of subnets, VPCs, regions, and availability zones.
Based ...
2024 |
aws
azure
gcp
vpc
Why Mobile Hotspot IPs Are Not What They Seem
When using the same WiFi network, we can easily find each other's IP addresses (192.168.0.x) using ifconfig/ipconfig. This is useful for tasks like testing websites on mobile devices, as CSS may ren...
2024
Frontend Server-Side Calls and CORS
When dealing with sensitive information such as login or account-related matters, including sessions and tokens, one might wonder how to hide this information instead of having it visible in the bro...
2024 |
HTTP
Nextjs
Reactjs
Rewriting Angular 10 Directly with Version 18
I don’t upgrade, I rewrite actually. 😮💨
I recently realized it had been ages since I last played with Angular. Feeling a bit rusty, I decided to use my free time for a try - upgrading my old proje...
2024 |
Angular
firebase
Serverless: Lambda, API Gateway, DynamoDB Together
https://aws.amazon.com/tw/serverless/
All services mentioned are belonging to serverless
you don't need to launch an entire backend project. You can simply upload a single file (like an index.js) to...
2024 |
aws
api-gateway
dynamoDB
lambda
Losing Fat for image — Multi-stage builds
The original Dockerfile uses the complete golang:1.22 image as its base, resulting in a large final image (about 800-900MB) that includes the entire Go development environment, source code, and buil...
2024 |
docker
Implementing a Go HTTP Server and Websocket with Fargate and ECR
This article explores AWS Elastic Container Service (ECS), focusing on Fargate and ECR. While we use a simple Go HTTP server as an example, our main goal is to understand ECS deployment processes. ...
2024 |
golang
aws
ecr
ecs
elb
fargate
route53
brutal solution — docker system prune
Sometimes Dockerfiles have too many layers or remote dependencies (e.g., ADD), making it difficult to identify which layer is causing problems. This is especially annoying when some behaviors come fr...
2024 |
docker
AWS VPC — How Network Traffic Travels Through Components
In a VPC, the Internet Gateway serves as the connection to the internet. Route Tables direct traffic within the VPC and to the IGW. Subnets organize resources and are protected by NACLs at the subnet...
2024 |
aws
Broad Translators
Usually what we write in
The term "source code" depends on context; it can refer to high-level language or assembly language.
Broadly includes all tools capable of form conversion:
Not necessarily ...
2024
Python Execution — From Interpreters to Compilers and Packaging tools
From a performance perspective: Static/AOT compilation > JIT compilation > JIT implementation > Interpreter
note1
Note 1: In the Python world, VM and interpreter are often used interchangeably, but ...
2024
Linux Variants: Ubuntu, Kali, Debian, Red Hat, Fedora & CentOS…
With numerous Linux distributions like Red Hat, CentOS, Debian, and Ubuntu often mentioned, it's easy to get lost in the mix. This guide aims to clear up your confusion and help you better understand...
2024
rwxrwxrwx Also, SUID, SGID & SBIT?
You already know about rwx rwx rwx, which represents owner, group, and others respectively. Each group has its own rwx, and if you're the owner, you look at the first rwx group.
Using ls -l, you'll...
2024
loopback(127.0.0.1, ::1), localhost, and 0.0.0.0 in Local Development
I found an issue where my backend server was listening on 127.0.0.1:1234, but I couldn't access to it using localhost:1234 in my browser or curl. Initially I thought it’s a backend issue, I found no ...
2024
Linux Network Troubleshooting Tools: nslookup/ping/ssh/netstat/curl/nc
The most commonly used tools are ping and nslookup.
OSI Layer Reference:
"Go Deeper!" - dig provides detailed DNS information.
dig can query specific record types: TXT, A, etc. dig soa.yourdomain...
2024
HTTP Headers: Set-Cookie - SameSite Configuration
The issue arose when cookies obtained after logging in at localhost:3000 couldn't be used at thembase-subdomain.localhost:3000.
The solution involves using these cookie options:
SameSite has three ...
2024
HTTP 1.1/2/3
1 RTT represents a round trip. Below are all 1 RTT.
TCP operates at the Transport layer, which is below the Network layer, also known as IP.
Regardless of the HTTP version, TCP always requires a 3-w...
2024