Serverless Applications: Implementing RESTful API using AWS

Amazon Web Services    |    Intermediate
  • 25 videos | 3h 35m 58s
  • Includes Assessment
  • Earns a Badge
Rating 4.2 of 50 users Rating 4.2 of 50 users (50)
To build serverless applications, developers and project managers must know how to transition to an API-driven development environment. Use this course to learn how to leverage APIs within AWS's serverless platform. Distinguish between REST and SOAP APIs. Examine the purpose of the REST architecture style and the benefits of using REST APIs. Explore AWS API Gateway and the process of designing, building, and optimizing API Gateway to create REST APIs. Create HTTP APIs and API Gateway APIs. Implement AWS Lambda using Node.js. Then create Lambda functions to consume events from Amazon DynamoDB streams. Outline how to set up authentication and authorization in AWS serverless implementations. Work with Lambda authorizers and functions. Lastly, customize content delivered by CloudFront. Upon completing this course, you'll be able to build RESTful APIs and leverage them within the AWS serverless environment.

WHAT YOU WILL LEARN

  • Discover the key concepts covered in this course
    Recall the history of rest api and the features of rest that make it different from soap api
    Recognize the goals of the rest architecture style and the design rules applied to establish the distinct characteristics of the rest architectural style
    Describe the concept and approach of uniform contract and service modeling using restful api
    Recognize the benefits of using rest api for modern applications and the steps that can be adopted to transition to api-driven development
    Describe the features and architecture of aws api gateway that help accept and process concurrent api calls
    Outline the process that needs to be adopted to design, build, and optimize api gateway for creating rest apis to implement request/response design models
    Create http apis using the aws management console
    Create api gateway apis with private integration to provide api consumers with access to http/https resources within amazon virtual private cloud
    Create api gateway apis to expose other aws services
    Demonstrate the steps involved in building api gateway rest apis with lambda integration
    Recall the concept of serverless computing along with the aws services that can be used to implement serverless computing
    Describe the features and building blocks of aws lambda along with the benefits afforded by aws lambda to implement serverless compute
  • Implement aws lambda using node.js with the aws management console
    Recognize the key features and benefits of dynamodb and specify why dynamodb is an essential part of the serverless ecosystem
    Create lambda functions that can consume events from amazon dynamodb streams
    Implement rest apis that use aws api gateway to route requests to lambda functions that can query dynamodb
    Recognize the approach of setting up authentication and authorization mechanisms in aws serverless implementations
    Configure a lambda authorizer using the api gateway console
    Set up request validators in an api's openapi definition file and import the openapi definitions into api gateway
    Use amazon s3 to trigger an aws lambda function when files are being uploaded in amazon s3 buckets
    Configure a destination and lambda function to send invocation records asynchronously to services
    Invoke and execute lambda functions at regular intervals using scheduled events
    Customize the content delivered by cloudfront using the lambda compute service
    Summarize the key concepts covered in this course

IN THIS COURSE

  • 2m 19s
    This video will provide more information about your instructor and this course. This course will explore the goals of the REST architecture style, the concept of uniform contract and service modeling with RESTful API. You’ll learn how to transition the API driven development. You’ll explore the benefits of using REST API and the features and architectures of AWS API Gateway. Then you’ll learn how to create HTTP APIs and API Gateway APIs. FREE ACCESS
  • 8m 26s
    In this video, you’ll learn the history of REST API and the features of REST. You’ll first explore what a SOAP API is. An API, short for application programming interface, is an agreement between web services on how they're going to exchange data. The data is structured into messages that the system sends to each other. When you open an e-commerce app, an API request is sent to Google, which returns an API response. FREE ACCESS
  • Locked
    3.  The Goals of REST Architecture Style
    7m 57s
    Here, you’ll learn the goals of the REST architecture style. You’ll learn the design rules that are applied to establish the distinct characteristics of the REST architectural style. You’ll explore the basic concepts associated with this architecture style. A fundamental concept in any RESTful API is the resource. This represents an abstraction of information. A resource is an object with a type, associated data, relationships to other resources, and a set of methods. FREE ACCESS
  • Locked
    4.  Uniform Contract and Service Modeling
    8m 27s
    Here, you’ll learn the concept and approach of uniform contract and service modeling using RESTful API. The uniform constraint or uniform interface is a fundamental guiding principle of REST services. This simplifies and decouples the architecture which enables each part to evolve independently. REST-style architectures rely on the uniform contract constraint. Restful APIs are designed to have uniform interfaces to seamlessly communicate with other APIs. FREE ACCESS
  • Locked
    5.  The Benefits of Using REST API for Modern Apps
    8m 39s
    Here, you’ll learn the benefits of using REST API for modern applications. You’ll discover the steps that can be adopted to transition to API-driven development. The traditional approach includes designing the API after you’ve laid the foundation for the rest of your application. But the key objective of the REST architecture style is to simplify the development and enhance accessibility. Thus, we can implement RESTful APIs to make everything accessible via APIs. FREE ACCESS
  • Locked
    6.  AWS API Gateway Features and Architecture
    6m 54s
    Here, you’ll learn the features and architecture of Amazon API Gateway. These allow you handle the tasks involved in accepting and processing concurrent API calls. You’ll explore the key characteristics and capabilities of API Gateway. Then, you’ll look at the architecture and features of the API Gateway. API Gateway is an AWS service for creating, publishing, maintaining, monitoring, and securing APIs. This includes REST, HTTP, and WebSocket. FREE ACCESS
  • Locked
    7.  The Process of Working with API Gateway
    11m 29s
    Here, you’ll learn the process used to adapt, design, and build an optimized API gateway to create REST APIs. These REST APIs will implement the request-response design model. API gateway REST APIs use a request-response model where a client sends a request to a service and the service responds back synchronously. The features of API gateway help with the API life cycle. Here, you’ll learn the steps involved in implementing REST APIs. FREE ACCESS
  • Locked
    8.  Creating HTTP APIs
    7m 10s
    Here, you’ll watch a demo. You’ll learn how to create HTTP APIs using the AWS Management Console. You can use the AWS Management Console, AWS CLI, APIs, AWS CloudFormation, or SDKs to create HTTP APIs in AWS. Here, though, you’ll use the AWS Management Console. You can implement HTTP APIs to create RESTful APIs with lower latency and lower cost, as compared to other non-HTTP REST APIs. FREE ACCESS
  • Locked
    9.  Creating API Gateway APIs
    9m 57s
    Here, you’ll watch a demo. You’ll learn how to create API gateway APIs with private integration. These provide API consumers with access to HTTP and HTTPS resources within Amazon Virtual Private Cloud or VPC. You can create an API gateway API with private integration to provide access to HTTP or HTTPS resources within a particular Amazon Virtual Private Cloud. Here, you’ll set up a network load balancer and the targets of virtual private cloud resources. FREE ACCESS
  • Locked
    10.  Creating API Gateway APIs to Expose Services
    7m 47s
    Here, you’ll watch a demo. You’ll learn how to create API Gateway APIs that expose other AWS services. While all AWS services support dedicated APIs to expose their features, the application protocols or programming interfaces differ by service. An API Gateway API, with the AWS integration, has the advantage of providing a consistent application protocol for the clients to access different AWS services. FREE ACCESS
  • Locked
    11.  Building API Gateway REST APIs
    12m 6s
    Here, you’ll watch a demo. You’ll learn how to build API gateway REST API with Lambda integration. You’ll first write and deploy a Lambda function. Then, you’ll integrate the Lambda function with an API gateway-based REST API. You’ll deploy it again to make it accessible to app developers. You’ll write the logic of the REST API using a Lambda function and then expose it using the API gateway. FREE ACCESS
  • Locked
    12.  Serverless Computing and AWS Serverless Services
    8m 2s
    In this lesson, you’ll explore the concept of serverless computing. You’ll learn about prominent AWS services used to implement serverless computing. You’ll explore categories of serverless services that are provided by AWS. These include compute and orchestration services. Compute is a core component of any serverless implementation. It’s used to run core business logic along with all supporting processes. Orchestration services consist of all the tools and frameworks required for orchestrating workflows. FREE ACCESS
  • Locked
    13.  The Building Blocks of AWS Lambda
    8m 14s
    In this video, you’ll learn the features and building blocks of AWS Lambda. You’ll also explore the benefits afforded by AWS Lambda to implement serverless compute. You’ll also learn the essential building blocks of AWS Lambda. When you use AWS Lambda for serverless implementations, the required resources are automatically provisioned by AWS Lambda. FREE ACCESS
  • Locked
    14.  Implementing AWS Lambda Using Node.js
    7m 43s
    Here, you’ll watch a demo. You’ll learn how to implement AWS Lambda using Node.js with the AWS Management Console. You’ll launch the AWS Lambda dashboard or console. Then, you’ll input the search keywords AWS Lambda into the search text field on the toolbar. You’ll select the first resulting option titled Lambda from under the Services section. This will launch the AWS Lambda dashboard. You’ll see a list of Lambda functions. FREE ACCESS
  • Locked
    15.  DynamoDB in the Serverless Ecosystem
    8m 27s
    In this video, you’ll learn the key features and benefits of DynamoDB. DynamoDB is an essential part of the serverless ecosystem. DynamoDB is essentially a fully-managed NoSQL database service that provides fast and predictable performance with seamless scalability. With DynamoDB, the administrative responsibilities of operating and scaling are handled by the service providers. The service provider manages the hardware provisioning, setup and configuration, replication, software patching, or cluster scaling. DynamoDB also offers encryption at rest. FREE ACCESS
  • Locked
    16.  Creating Lambda Functions to Consume DynamoDB Events
    13m 44s
    Here, you’ll watch a demo. You’ll launch the Amazon DynamoDB console and create a table. First, you’ll input the keyword dynamodb in the search field. We will select the first resulting option, DynamoDB, from under the Services section. This will launch the Amazon DynamoDB console. Next, you’ll create a NoSQL table. A DynamoDB table is a schema-less table that requires a Table name and Primary key. FREE ACCESS
  • Locked
    17.  Implementing REST APIs to Query DynamoDB
    16m 21s
    Here, you’ll watch a demo. You’ll learn how to implement REST APIs that use the AWS API gateway to route requests to lambda functions that can query DynamoDB. First, you’ll create a DynamoDB table. You’ll need to launch the DynamoDB console from the AWS Management Console. Input the search keyword dynamodb in the search text field. Select the first result, DynamoDB, from under the services section. This will launch the DynamoDB console. FREE ACCESS
  • Locked
    18.  Authentication Setup for AWS Serverless Environments
    12m 38s
    Here, you’ll watch a demo. You’ll learn how to set up authentication and authorization mechanisms in AWS serverless implementations. First, you’ll look at the differences between authentication and authorization. These two terms are often used in conjunction when we talk about gaining access to a system and its security. Authentication involves verifying the identity of the user against the user’s information stored in the systems database. FREE ACCESS
  • Locked
    19.  Configuring Lambda Authorizers
    6m 15s
    Here, you’ll watch a demo. You’ll learn how to configure a lambda authorizer using the API gateway console. The lambda authorizer is also known as the custom authorizer. It’s an API gateway feature that uses a lambda function to control access to APIs. A lambda authorizer is used when you need to implement a custom authorization scheme that uses a bearer token authentication strategy or a request parameter to determine the invoker's identity. FREE ACCESS
  • Locked
    20.  Working with Request Validators
    5m 15s
    Here, you’ll watch a demo. You’ll learn how to set up request validators in an APIs open API definition file. Then, you’ll import the open API definitions into the API gateway. Open API definition files contain details of how the API needs to be related. It explains how the API works. You’ll explore the API specifications that you wrote using the Swagger Editor. FREE ACCESS
  • Locked
    21.  Invoking AWS Lambda Functions with S3
    12m 12s
    Here, you’ll watch a demo. You’ll learn to use Amazon S3 to trigger a lambda function when files are being uploaded to Amazon S3 buckets. Amazon S3 is a managed service for file storage where you can upload or remove files. You can configure AWS Lambda to be triggered whenever there is a file upload to S3 bucket. You’ll use AWS S3 to trigger the AWS Lambda function when files are uploaded in S3 bucket. FREE ACCESS
  • Locked
    22.  Sending Asynchronous AWS Lambda Function Invocations
    8m 6s
    Here, you’ll learn to configure a destination and lambda function to send invocation records synchronously to the service. Whenever a lambda function is invoked successfully, lambda will route the record to the destination resource for every successful invocation. To do that, you must create certain destinations. You’ll need to configure the destinations with the lambda function. Here, you’ll create two destinations, one for success, another for failure. FREE ACCESS
  • Locked
    23.  Invoking Lambda Functions at Scheduled Events
    6m 57s
    Here, you’ll watch a demo. You’ll learn how to invoke and execute lambda functions at regular intervals using scheduled events. You’ll start by launching the AWS lambda console to create a lambda function. Then, you’ll input the search keyword lambda in the search field. Select the first resulting option, Lambda, from under the Services section. This will launch the AWS Lambda Dashboard. Next, you’ll create a lambda function. FREE ACCESS
  • Locked
    24.  Customizing CloudFront Content Using Lambda
    8m 36s
    Here, you’ll watch a demo. You’ll learn how to customize the content delivered by CloudFront using the lambda compute service. You’ll need to configure three essential services, cloud front distribution, lambda function, and S3 bucket. First, you’ll customize the IAM role and assign the appropriate permissions to the role so that it can use all the required services. FREE ACCESS
  • Locked
    25.  Course Summary
    2m 18s
    In this video, you’ll summarize what you’ve learned in this course. You’ve examined how to design, build, and optimize API Gateway to create REST APIs. You learned how to implement serverless computing, how to implement AWS Lambda using Node.js, and how to create Lambda functions. You set up request validators and open API definition files, and you invoked and executed lambda functions. You also explored the benefits of using REST API. FREE ACCESS

EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE

Skillsoft is providing you the opportunity to earn a digital badge upon successful completion on some of our courses, which can be shared on any social network or business platform.

Digital badges are yours to keep, forever.

YOU MIGHT ALSO LIKE

Rating 4.4 of 108 users Rating 4.4 of 108 users (108)
Rating 4.7 of 46 users Rating 4.7 of 46 users (46)
Rating 4.8 of 16 users Rating 4.8 of 16 users (16)

PEOPLE WHO VIEWED THIS ALSO VIEWED THESE

Rating 4.6 of 1773 users Rating 4.6 of 1773 users (1773)
Rating 4.4 of 86 users Rating 4.4 of 86 users (86)
Rating 4.5 of 114 users Rating 4.5 of 114 users (114)