Edge Computing with Amazon Web Services

Book description

Build scalable, cost-effective, high-performance, and secure architectures using AWS Outposts, AWS Local Zones, AWS Wavelength, and AWS Snow services guided by best practices and practical examples

Key Features

  • Take advantage of the opportunities and challenges arising from the exponential growth of connected devices
  • Use AWS edge compute services to extend your applications to wherever they are needed
  • Follow guided tutorials for building an IIoT gateway and a distributed edge application with AWS services
  • Purchase of the print or Kindle book includes a free PDF eBook

Book Description

The surge in connected edge devices has driven organizations to capitalize on the opportunities presented by the massive amounts of data generated by these devices. However, adapting to this landscape demands significant changes in application architectures.

This book serves as your guide to edge computing fundamentals, shedding light on the constraints and risks inherent in selecting solutions within this domain. You’ll explore an extensive suite of edge computing services from AWS, gaining insights into when and how to use AWS Outposts, AWS Wavelength, AWS Local Zones, AWS Snow Family, and AWS IoT Greengrass. With detailed use cases, technical requirements, and architectural patterns, you’ll master the practical implementation of these services and see how they work in real life through step-by-step examples, using the AWS CLI and AWS Management Console. To conclude, you’ll delve into essential security and operational considerations to maximize the value delivered by AWS services.

By the end of this book, you'll be ready to design powerful edge computing architectures and handle complex edge computing use cases across multiple AWS services.

What you will learn

  • Overcome network challenges faced at the near and far edge
  • Leverage services in over 450 points of presence at the edge of the AWS global backbone
  • Deploy edge solutions in disconnected scenarios using AWS Snow Family
  • Build multi-access edge (MEC) solutions with 5G and AWS Wavelength
  • Reduce latency for your users with AWS Local Zones
  • Configure AWS Snowcone as an IIoT gateway with AWS IoT Greengrass
  • Extend your AWS VPC into your on-premise data center with AWS Outposts
  • Deploy distributed applications for core, near, and far edge cloud services

Who this book is for

This book is designed for cloud architects, cloud engineers, solutions architects, and IoT architects tasked with building edge compute solutions using AWS. If you want to master the full range of edge computing services offered by AWS, this book is for you. A basic understanding of AWS services and networking is assumed.

Table of contents

  1. Edge Computing with Amazon Web Services
  2. Contributors
  3. About the author
  4. Special contribution
  5. About the reviewer
  6. Preface
    1. Who this book is for
    2. What this book covers
    3. To get the most out of this book
    4. Download the example code files
    5. Code in Action
    6. Conventions used
    7. Get in touch
    8. Share Your Thoughts
    9. Download a free PDF copy of this book
  7. Part 1: Compute, Network, and Security Services at the Edge
  8. Chapter 1: Getting Started with Edge Computing on AWS
    1. The intersection of cloud and edge computing
      1. Physics
      2. Economics
      3. Regulatory compliance
      4. Inertia
    2. The AWS edge computing strategy
      1. Disconnected, denied, intermittent, or low-bandwidth
      2. Multi-access edge computing
      3. Immersive experiences
      4. IIoT
    3. Overview of the AWS edge computing toolbox
      1. Localized AWS infrastructure and services
      2. Developer tools and resources
      3. Security and compliance
      4. Consistent experience
      5. Architectural guidance
    4. Summary
  9. Chapter 2: Understanding Network and Security for Near-Edge Computing
    1. Understanding internet challenges
      1. The impact of latency and packet loss
      2. Causes of packet loss on the internet
      3. TCP receive window (RWIN)
      4. User Datagram Protocol (UDP)
    2. Using a private wide-area network (WAN)
      1. Multiprotocol Label Switching (MPLS)
      2. Software-defined networking (SDN)
      3. Software-defined WAN (SD-WAN)
    3. Optimizing ingress with global server load balancing (GSLB)
      1. Internet Control Message Protocol (ICMP) triangulation
      2. IP geolocation database
      3. Custom rules
    4. Steering traffic at the network layer with IP Anycast
    5. Addressing TCP issues with HTTP/3 and QUIC
      1. Upsides of HTTP/3 and QUIC
      2. Downsides of HTTP/3 and QUIC
      3. Current status
    6. Securing networks at the near edge
      1. Identity and Access Management (IAM)
      2. Encryption
      3. Secure communication protocols
      4. Device hardening
      5. Network segmentation
      6. Monitoring and logging
      7. Security updates and vulnerability management
      8. Physical security
      9. Incident response and disaster recovery
      10. Training and awareness
    7. Summary
  10. Chapter 3: Understanding Network and Security for Far-Edge Computing
    1. Introduction to radio frequency (RF) communications
      1. Frequency and wavelength
      2. Antennas
      3. Modulation
      4. Duplexing
      5. Multipath propagation
      6. Multiplexing
    2. Utilizing cellular networks
      1. 4G/LTE
      2. 5G
      3. Cellular Vehicle-to-Everything (C-V2X)
      4. Narrow-Band IoT (NB-IoT)
    3. Optimizing Wi-Fi (802.11x)-based connectivity
      1. Wi-Fi-1 through Wi-Fi-6
      2. Modulation and coding schemes (MSCs)
      3. Spatial streams
      4. WiFi and MIMO
      5. MU-OFDMA
      6. 802.11p (DSRC)
    4. Connecting to low-powered devices with LoRaWAN
      1. LoRa
      2. Long range wide area network (LoRaWAN)
      3. LoRaWAN network topology
      4. Direct communication between devices
      5. Geolocation
      6. LoRaWAN device classes
    5. Integrating SATCOM
      1. SATCOM frequency bands
      2. Satellite orbits
      3. Global Navigation Satellite System (GNSS)
    6. Summary
  11. Part 2: Introducing AWS Edge Computing Services
  12. Chapter 4: Addressing Disconnected Scenarios with AWS Snow Family
    1. Introduction to the AWS Snow Family
    2. Using AWS Snowball Edge
      1. Migrating data to the cloud
      2. Physical networking
      3. Logical networking
      4. Storage allocation
    3. Using AWS Snowcone
      1. Wi-Fi
      2. Power supply
      3. Data transfer targets
    4. Summary
  13. Chapter 5: Incorporating AWS Outposts into Your On-Premises Data Center
    1. Introducing AWS Outposts
    2. Using AWS Outposts Rack
      1. Use cases
      2. Ordering an AWS Outposts rack
      3. Physical elements
      4. Logical networking
      5. Available services
      6. High availability (HA)
      7. Security
    3. Using AWS Outposts Server
      1. Ordering
      2. Physical networking
      3. Service link
      4. Logical network interfaces (LNIs)
      5. High Availability (HA)
      6. Service availability
      7. Storage
    4. Summary
  14. Chapter 6: Lowering First-Hop Latency with AWS Local Zones
    1. Introduction to AWS Local Zones
      1. Customer needs
      2. AWS Outposts versus AWS Local Zones
      3. AWS Dedicated Local Zones
      4. AWS Local Zones pricing
      5. Latency to AWS Local Zones
      6. Opting into AWS Local Zones
    2. Connecting on-premises networks to AWS Local Zones
      1. AWS Direct Connect
    3. Routing internet traffic into AWS Local Zones
      1. Application Load Balancer
      2. Amazon Route53 for load balancing
      3. AWS Local Zone as primary with parent region as secondary
      4. Using AWS Global Accelerator
      5. Traffic between AWS Local Zones
    4. Summary
  15. Chapter 7: Using AWS Wavelength Zones on Public 5G Networks
    1. Introduction to AWS Wavelength Zones
      1. Comparing AWS Wavelength deployments across global carriers
    2. Connecting to AWS Wavelength from mobile devices
      1. Enabling AWS Wavelength Zones
      2. Carrier gateways
      3. Application Load Balancer
      4. Amazon Route53 for load balancing
      5. Edge Discovery Service (EDS)
    3. Extending a VPC into AWS Wavelength
      1. Communication between AWS Wavelength Zones
      2. Communicating to AWS endpoints
    4. Integrating AWS Wavelength with other services
      1. EC2 instances
      2. Amazon ECS
      3. Amazon EKS
      4. Service pricing
    5. Summary
  16. Part 3: Building Distributed Edge Architectures with AWS Edge Computing Services
  17. Chapter 8: Utilizing the Capabilities of the AWS Global Network at the Near Edge
    1. Overview of the AWS Global Network
      1. AWS Global Network
    2. Processing at the near edge with Amazon CloudFront
      1. Content distribution
      2. Regional edge caches (RECs)
      3. Amazon CloudFront Embedded POPs
      4. HTTP/3 and QUIC
      5. AWS Lambda@Edge
      6. Amazon CloudFront functions
    3. Leveraging IP Anycast with AWS Global Accelerator
      1. TCP termination
      2. Endpoint groups
    4. Using the AWS global backbone as a private WAN
      1. AWS Cloud WAN
    5. Summary
  18. Chapter 9: Architecting for Disconnected Edge Computing Scenarios
    1. Overview of DDIL
    2. Using AWS IoT services in DDIL scenarios
      1. The AWS Snow family as an IoT gateway
      2. Embedded Linux devices as IoT gateways
    3. Tactical edge
      1. Forward deployment of the AWS Snow family
      2. EKS-A
      3. Forward deployment of AWS Outposts
    4. Private 5G and DDIL
      1. Using AWS Snowball Edge to host a private 5G core
    5. Summary
  19. Chapter 10: Utilizing Public 5G Networks for Multi-Access Edge (MEC) Architectures
    1. Overview of architecting 5G-based MEC solutions
      1. Public MEC
      2. Private MEC
    2. Observability, security, and capacity of Wi-Fi versus 5G
      1. Observability
      2. Security
      3. Capacity
      4. Computer Vision
    3. V2X
      1. ISA devices
      2. AWS IoT FleetWise
    4. Software-defined video production
    5. Summary
  20. Chapter 11: Addressing the Requirements of Immersive Experiences with AWS
    1. Overview of immersive experiences
      1. Virtual Reality (VR)
      2. Augmented Reality (AR)
      3. Mixed Reality (MR)
      4. XR development platforms
    2. Online gaming with Unity
      1. Dedicated servers
      2. Game clients
      3. Pixel streaming
      4. Amazon GameLift plugin for Unity
    3. Connected workers
      1. Mobile edge computing (MEC) and connected workers
    4. Workforce development and training
    5. AR-enhanced sporting events
      1. AR-integrated live video
    6. Summary
  21. Part 4: Implementing Edge Computing Solutions via Hands-On Examples and More
  22. Chapter 12: Configuring an AWS Snowcone Device to Be an IOT Gateway
    1. Ordering an AWS Snowcone device
      1. Step 1 – Creating an S3 bucket
      2. Step 2 – Creating a new job
      3. Step 3 – Selecting the job type
      4. Step 4 – Choosing a form factor
      5. Step 5 – Selecting optional components
      6. Step 6 – Setting encryption options
      7. Step 7 – Confirming your selections
      8. Step 8 – Saving output files
      9. Step 9 – Setting up the physical environment
    2. Deploying the backend in your AWS account
      1. Step 1 – Installing and configuring AWS CLI v2
      2. Step 2 – Cloning the code repository from GitHub
      3. Step 3 – Copying the code repository to your S3 bucket
      4. Step 4 – Deploying the CloudFormation templates
      5. Step 5 – Retrieving outputs from CloudFormation and passing them to environment variables
      6. Step 6 – Configuring the AWS IoT Greengrass v2 service policy on your account
    3. Preparing the device with the Snowball Edge CLI
      1. Step 1 – Installing the AWS Snow CLI client
      2. Step 2 – Configuring the AWS Snow CLI
      3. Step 3 – Unlocking your Snow device with the CLI
      4. Step 4 – Retrieving the output of the unlocking procedure
      5. Step 5 – Creating a virtual network interface
      6. Step 6 – Obtaining local credentials from your Snow device
      7. Step 7 – Retrieving the certificate from your Snow device
      8. Step 8 (optional) – Adding the EC2 endpoint URL to your AWS CLI config file
    4. Configuring AWS IoT Greengrass on the Snow device
      1. Step 1 – Creating an EC2 keypair on the Snow device
      2. Step 2 – Obtaining the ImageId value from your Snow device
      3. Step 3 – Launching the EC2 instance on your Snow device
      4. Step 4 – Attaching the VNI to your EC2 instance
      5. Step 5 – SSHing into your EC2 instance
      6. Step 6 – Installing the AWS IoT Greengrass prerequisites into your EC2 instance
      7. Step 7 – Installing the AWS IoT Greengrass v2 agent onto your EC2 instance
    5. Walkthrough of what you’ve created
      1. Controlling your EC2 instance remotely
      2. Exploring the Greengrass components on your device
    6. Summary
  23. Chapter 13: Deploying a Distributed Edge Computing Application
    1. Deploying a distributed EKS cluster with Terraform
      1. Architecture
      2. Components
      3. Cost
      4. Setting up your environment
      5. Deploying the EKS cluster
    2. Using Terraform to push a distributed application
      1. Components
      2. Deploying the distributed application
    3. Testing the application from multiple sources
      1. Checking the user experience from your desktop/laptop
      2. Checking the user experience from your mobile device
    4. Cleanup
    5. Notes
    6. Summary
  24. Chapter 14: Preparing for the Future of Edge Computing with AWS
    1. Business drivers for growth in edge computing
      1. Industry 4.0
      2. Data sovereignty and privacy concerns
    2. Building a solid foundation for the future
      1. Taking a systematic approach
    3. Patterns and anti-patterns
      1. Leveraging cloud-native services
      2. Staying ahead of emerging AWS services and trends
    4. Summary
  25. Index
    1. Why subscribe?
  26. Other Books You May Enjoy
    1. Packt is searching for authors like you
    2. Share Your Thoughts
    3. Download a free PDF copy of this book

Product information

  • Title: Edge Computing with Amazon Web Services
  • Author(s): Sean Howard
  • Release date: February 2024
  • Publisher(s): Packt Publishing
  • ISBN: 9781835081082