Best of AWSJune 2024

  1. 1
    Article
    Avatar of communityCommunity Picks·2y

    I fought a DDoS and lived to tell the tale

    The post recounts the author's experience dealing with a DDoS attack and provides advice on how to protect against such attacks.

  2. 2
    Article
    Avatar of hnHacker News·2y

    The Architecture Behind A One-Person Tech Startup

    The post discusses the architecture and tools used in a one-person tech startup, including Kubernetes on AWS, automatic DNS and SSL setup, load balancing, automated rollouts and rollbacks, horizontal autoscaling, caching, app administration, scheduled jobs, loggin and monitoring, and more.

  3. 3
    Video
    Avatar of fireshipFireship·2y

    when your serverless computing bill goes parabolic...

    Learn how a developer received a massive serverless bill from Versell and explore tools and alternatives to avoid the same situation. Discover tips for managing serverless costs and find out the consequences of failing to set a budget limit.

  4. 4
    Article
    Avatar of communityCommunity Picks·2y

    getsops/sops: Simple and flexible tool for managing secrets

    SOPS is a versatile tool designed for managing encrypted files in formats including YAML, JSON, ENV, INI, and BINARY. It supports encryption using AWS KMS, GCP KMS, Azure Key Vault, age, and PGP. Users can access binaries and packages from its GitHub releases or explore unstable features in the main branch by installing from source. SOPS allows for easy integration with AWS IAM for managing master keys and supports various encryption contexts and roles. The use of `.sops.yaml` files facilitates configuration and management of encryption setups. For those wanting to decrypt or encrypt files, SOPS offers a streamlined command-line interface with various flags for customization.

  5. 5
    Article
    Avatar of communityCommunity Picks·2y

    How to upload to S3 in Next.js and save references in Postgres

    Learn how to add a feature to a Next.js app that allows users to upload files to Amazon S3 using presigned URLs, and save references to these files in a Postgres database. The guide covers creating a Neon project, setting up an S3 bucket, creating IAM user access keys, and setting up a Next.js application with necessary API routes to handle file uploads and database operations.

  6. 6
    Article
    Avatar of communityCommunity Picks·2y

    What is Bref and serverless? – Bref

    Serverless architecture allows running applications without managing servers, offering automated scaling, cost efficiency, and reliability. Bref simplifies deploying PHP applications on AWS Lambda by providing tooling, PHP runtimes, and integration with frameworks like Laravel and Symfony. It covers use cases such as APIs, websites, and cron jobs, but may require code adjustments for legacy applications and isn't ideal for real-time apps due to possible latency.

  7. 7
    Article
    Avatar of infoworldInfoWorld·2y

    4 cloud certifications that will help you stand out

    Cloud certifications are vital for tech professionals looking to advance their careers and stand out in the job market. They validate skills and knowledge, making candidates more credible to hiring managers. Certifications from AWS, Azure, and Google Cloud are particularly valued. They not only help in landing interviews but often lead to higher salaries and better job opportunities. Moreover, they indicate a commitment to continuous learning and keeping up with the latest technologies. However, certifications are just one part of the hiring equation; work experience and related education also play significant roles.

  8. 8
    Article
    Avatar of awsfundamentalsAWS Fundamentals·2y

    Host Frontend on AWS with CloudFront Toolkit

    Learn how to host your frontend on AWS using the CloudFront Hosting Toolkit. The toolkit provides a command-line interface (CLI) to set up the required cloud infrastructure, create a CI/CD pipeline, and connect to your GitHub repository. Deploying a React application to CloudFront is demonstrated in the post. The launch of the toolkit aims to enable developers to easily host their static pages and single-page applications on AWS.

  9. 9
    Video
    Avatar of nickchapsasNick Chapsas·2y

    Getting Started with Messaging in .NET with NServiceBus

    This post provides a comprehensive guide on getting started with messaging in .NET using NServiceBus. It explains the basics of messaging, queues, and pub/sub patterns, and demonstrates integrating NServiceBus with RabbitMQ and AWS. The post also includes examples of setting up endpoint configurations, creating message handlers, and switching queuing mechanisms between RabbitMQ and AWS SQS. Additionally, it provides insights into the pros and cons of NServiceBus compared to other libraries like Mass Transit.

  10. 10
    Article
    Avatar of spaceliftSpacelift·2y

    Terraform on AWS – Deploying AWS Resources

    AWS provides a robust platform for scalable cloud infrastructure, and when paired with Terraform, it facilitates automated and consistent resource management through Infrastructure as Code (IaC). Terraform uses simple configuration files to define infrastructure and can handle a wide range of AWS resources. This post covers the basics of initializing, planning, and applying Terraform configurations for deploying AWS resources, explains the benefits of Terraform's declarative approach and state management, and includes a step-by-step guide to configure an EC2 instance, setup S3 as a remote backend, and create reusable modules. The discussion also touches on best practices and the use of Spacelift for advanced Terraform management.

  11. 11
    Article
    Avatar of implementingImplementing·2y

    How to setup Serverless framework to deploy AWS Lambda, Queues and DynamoDB con Node.js

    Learn how to configure the Serverless framework with Node.js to deploy AWS Lambda, Queues, and DynamoDB. The guide includes steps for creating an AWS account, installing AWS CLI and Node.js, setting up the Serverless framework CLI, configuring AWS IAM users, and establishing AWS Free tier usage alerts and budgets. Essential for developers looking to leverage serverless computing for scalable and cost-effective solutions.

  12. 12
    Article
    Avatar of freecodecampfreeCodeCamp·2y

    How to Use Time To Live in Event-Driven Architecture in AWS

    Time to Live (TTL) is a concept used to determine the lifespan of data in a distributed system. It is beneficial for ephemeral data like cached content, analytic metrics, and short-lived social media content. However, it is less useful for permanent data like media for streaming platforms or bank transactions. AWS services like SQS, S3, and DynamoDB support TTL, allowing developers to automate data expiration and efficiently manage resources. TTL can also be integrated with event-driven architectures to execute actions upon data expiration.

  13. 13
    Article
    Avatar of glwGolang Weekly·2y

    Golang Weekly Issue 510: June 11, 2024

    Learn about using eBPF to monitor system calls and incoming IP packets. Build and deploy scalable applications to AWS with Go. Explore options for handling errors in Go.

  14. 14
    Article
    Avatar of hnHacker News·2y

    poundifdef/SmoothMQ: A drop-in replacement for SQS designed for great developer experience and efficiency.

    SmoothMQ is a user-friendly alternative to AWS SQS, offering features like a functional UI, observability, tracing, message scheduling, and rate-limiting. It can run a private SQS instance on any cloud and works with any SQS client, providing a seamless transition. Deployment involves running a single Go binary, enabling easy integration with various SQS clients in different languages and frameworks.

  15. 15
    Article
    Avatar of spaceliftSpacelift·2y

    Using Ansible to Automate AWS [Tutorial]

    Ansible is a powerful open-source automation tool ideal for configuration management, infrastructure provisioning, and application deployment, particularly in AWS environments. It offers benefits such as idempotent task execution, no need for additional software on managed nodes, and modular architecture for extensibility. The post covers topics like setting up authentication, provisioning infrastructure, configuring dynamic inventories, managing configurations at scale, building AWS images, and using AWS Systems Manager. It also highlights best practices, including avoiding hardcoding of sensitive information and leveraging AWS-specific modules for efficient cloud management.

  16. 16
    Video
    Avatar of t3dotggTheo - t3․gg·2y

    S3 Is A Security Nightmare (Common Exploit Showcase)

    S3 has security issues and common vulnerabilities in uploads that can lead to cross-site scripting and unauthorized file overrides. Several third-party libraries exist to simplify S3 usage.

  17. 17
    Article
    Avatar of glwGolang Weekly·2y

    Golang Weekly Issue 511: June 18, 2024

    Chris Siebenmann highlights Go's approach to reducing potential errors despite its complexity. Dragonfly is introduced as a high-performance Redis replacement. Various aspects of Go's context, common anti-patterns in Go web apps, and performance benchmarking between gRPC + Protobuf vs. HTTP + JSON are discussed. Dynamo 2.0, a new DynamoDB library, and a CI-friendly database documentation tool called tbls are also covered. Updates on TinyGo, validator, Cloudflare Go, NATS.go, dae, Buf, and Pond are included.

  18. 18
    Video
    Avatar of programmersarealsohumanProgrammers are also human·2y

    *Next-door 10x Software Engineer* [FULL]

    The post is a chaotic depiction of a software engineering environment where developers deal with edge computing, infrastructure issues, and various technical challenges. Tasks mentioned include moving AWS stack to a Mac Mini, fixing CUDA drivers, experimenting with AR libraries, and managing custom developed cryptographic solutions. The narrative highlights the urgency and improvisation often needed in tech projects, with humorous undertones about the unpredictable nature of software development.

  19. 19
    Article
    Avatar of hnHacker News·2y

    i365dev/LetterDrop: LetterDrop is a secure and efficient newsletter management service powered by Cloudflare Workers, enabling easy creation, distribution, and subscription management of newsletters.

    LetterDrop is a secure and efficient newsletter management service built using Cloudflare Workers. It allows for easy creation, distribution, and subscription management of newsletters. The service can be set up with Cloudflare's zero-trust security and utilizes Cloudflare Email Workers to send emails. AWS SES is used for sending emails, and Cloudflare Queues handle failed messages. The code for LetterDrop is generated using GPT-4o, enabling quick customization.

  20. 20
    Video
    Avatar of beabetterdevBe A Better Dev·2y

    S3 to SQS Trigger Tutorial

    This post provides a tutorial on how to set up an S3 event trigger to an SQS destination. It explains the different options for event triggers in S3 and how to give S3 permission to call the send message API in SQS.

  21. 21
    Article
    Avatar of collectionsCollections·2y

    BulkUnsubscribe: Unsubscribe from all marketing emails in your Gmail account

    BulkUnsubscribe is an open-source tool that allows users to easily unsubscribe from marketing emails in their Gmail account. It provides three different methods for unsubscribing from unwanted emails and does not store sensitive data.

  22. 22
    Video
    Avatar of primeagenThePrimeTime·2y

    I Survived A DDOS

    The post describes the author's experience surviving a DDoS attack and offers advice on how to prevent and handle such attacks. It highlights the importance of using a web application firewall, a reverse proxy, and a cloud provider with DDoS protection. The author also emphasizes the need to become proficient with tooling, such as AWS Athena, for monitoring and analyzing access logs.

  23. 23
    Article
    Avatar of jswklyJavaScript Weekly·2y

    JavaScript Weekly Issue 694: June 27, 2024

    Ecma International has approved ECMAScript 2024, bringing slight improvements to the JavaScript language. Steve Kinney offers a comprehensive course on creating consistent UIs using Storybook. TypeScript 5.5 introduces several significant features including new Set methods, regex syntax checking, and more. Node-RED 4.0 enhances its Node.js-based low-code platform with improved multiplayer support and faster deployments. React-Admin v5 provides a structured approach to building React apps with REST or GraphQL APIs, while AWS Amplify enables quick deployment of SSR apps on AWS, supporting extensive scaling and branch deployment.

  24. 24
    Article
    Avatar of communityCommunity Picks·2y

    AWS Security Best Practices: Leveraging IAM for Service-to-Service Authentication and Authorization

    This post explores the importance of authentication and authorization in service-to-service communication. It covers different communication patterns and provides solutions using AWS IAM. The post highlights the use of resource-based policies and the assume role mechanism for authentication and authorization.