Deploying a Serverless Application to Support Your Repository Infrastructure
Description
A serverless application consists of the following components
-
A Runtime (Ruby 2.7, Python 3)
-
A package of code
-
Requests are sent to the application via url parameters and/or a URL payload (usually json)
-
A serverless application typically responds with an http response
What is in the package of code?
The presentation will illustrate an example of each type of code package.
-
In the simplest example, it is just a single file of code.
-
Or the code may require dependencies that are bundled with a dependency manager (ruby bundler or python pip)
-
The code may also require binary dependencies that are compiled for the specific runtime (mysql client libraries)
The package of code requires a container for deployment
-
Zip file
-
War file
-
In Dec of 2020, AWS Lambda began to support Docker Images for packaging a serverless application.
The beauty of providing a docker image as a code package is that the same docker image that you use for deployment can be used for testing your application before deployment.
The demonstration portion of this presentation will illustrate the testing and deployment process for the Administrative Tool for the Merritt digital preservation system.
Notes
Files
OR2021_Brady_Deploying_Servless_App.pdf
Files
(27.5 MB)
| Name | Size | Download all |
|---|---|---|
|
md5:16cc433ac65449698116955051fc523f
|
27.1 MB | Download |
|
md5:6459103a17ec47e6de92f8e6c540a88f
|
362.4 kB | Preview Download |