Published in Level Up Coding·PinnedHow to Use AWS Nitro Enclaves Attestation DocumentIn my last blog post Running Python App on AWS Nitro Enclaves, I briefly introduced what AWS Nitro Enclaves is and also demonstrate how network connection works on Nitro Enclaves. This week, I am going to talk about how we can make use of attestation documents generated by Nitro Secure…Nitroenclaves8 min read
4 days agoCyber Apocalypse CTF 2022 Writeup — Down the RabinholeThe challenge from Crypto.Util.number import getPrime, isPrime, bytes_to_long from Crypto.Util.Padding import pad import os FLAG = b"HTB{--REDACTED--}" def getPrimes(coefficient): while True: a = getPrime(512) p = 3 * coefficient * a + 2…Ctf4 min read
Published in Level Up Coding·Nov 2, 2020Running Python App on AWS Nitro EnclavesWhat is AWS Nitro Enclaves AWS Nitro Enclaves is an isolated compute environment running beside the EC2 instance. It uses the CPU and memory resources from your EC2 instance, but it is isolated from the instance on the hypervisor level so that your instance cannot access the enclave even on the OS-level. …Nitroenclaves5 min read
Jul 10, 2020Using Amazon SageMaker Debugger on DeepRacer stack — Part 1My initial goal is to try out Amazon SageMaker Debugger and see if I can get some useful information apart from what DeepRacer stack provides. However, after many trial and errors, I found that it’s not as easy as AWS’s sample codes show. Though, I think my journey would still…Deepracer5 min read
May 9, 2020Effective CloudWatch alarmingThis post is not about setting up CloudWatch alarms. You can find it on Google easily. Instead, I am going to talk about how to set up alarms that can make you sleep well at night. It is my journey of setting up alarms for my company’s website. It may…AWS7 min read
Published in Level Up Coding·Apr 29, 2020Don’t use Lambda to move data! API Gateway can helpAPI Gateway is the best companion of Lambda, and many people try their first Lambda function with API Gateway. But what many people don’t know is that API Gateway is not just a trigger, it can do more than you may think. This article will walk you through on how…Serverless8 min read
Apr 22, 2020What I have learned in this tech startup eraWorking in a software vendor company, I have encountered many clients reaching me with their crazy ideas. And thanks to the tech startup boom in the past several years, many of my clients have come up with ambitious goals, inspired by those successful tech startups. However, this is also a…Startup8 min read
Published in Analytics Vidhya·Apr 12, 2020Training DeepRacer for SpeedAWS DeepRacer is a 1/18th scale autonomous race car. It uses a camera (and LIDAR sensor on the newer version) as input to determine how fast the car should run and how steep should the turn be. …Deepracer7 min read
Published in The Startup·Apr 8, 2020Using CloudFront to secure your web applicationsCybersecurity is a hot topic now. If you search on Google about how to protect your website, you may find many buzzwords, IDS, IPS, WAF, DDoS, Proxy, you name it. …Security8 min read
Published in Level Up Coding·Mar 19, 2020Using SOPS and git hooks to share secrets — Part 2What we have done so far In part 1, we have set up our repository to use Mozilla SOPS to encrypt secret files before commit. But the encryption/decryption process still relies on human interaction, which is not a good practice in DevOps. In part 2, we are going to automate this process using githooks. What is githooks githooks is…Dev Ops6 min read