1st Career
2nd Career
1st Tuesday of the month
(except January 2019: is 2nd Tuesday)
5:30pm - 8:30pm
Richmond Heights Community Center
"Dale" Room
Free and open to the public!
https://www.meetup.com/stl-serverless/events/254589340/
Avram Peters
Daughtery Business Solutions
Tell about your company while we enjoy your refreshments
Daughtery Business Solutions
Serverless does not mean, "No servers"
Serverless computing is the abstraction of servers, infrastructure, and operating systems. When you build serverless apps you don’t need to provision and manage any servers, so you can take your mind off infrastructure concerns. Serverless computing is driven by the reaction to events and triggers happening in near-real-time—in the cloud. As a fully managed service, server management and capacity planning are invisible to the developer and billing is based just on resources consumed or the actual time your code is running.
https://azure.microsoft.com/en-us/overview/serverless-computing/
Serverless lets you think about servers less.
https://www.bmc.com/blogs/gartner-magic-quadrant-cloud-iaas/
Value Line
Storage
Queues
Notifications
API Gateways
Functions
Monitoring & Logging
and much, much more...
[ { "item": 1} ]
Item(1)
[ { "item": 1},
...
{"item" : 3} ]
Item(1)
Item(2)
Item(3)
These topics and more will form the basis for future talks
request
trigger
return
response
Http Trigger
Azure Function
f
event
trigger
Function
Add 1080p video to
storage
Transcode
to 720p
Save to 720p storage
event
trigger
notification hub
resource group - A container that holds related resources for an Azure solution. The resource group can include all the resources for the solution, or only those resources that you want to manage as a group. You decide how you want to allocate resources to resource groups based on what makes the most sense for your organization.
Function 1
Function 3
Function 4
Function 5
Storage
Queues
Function 2
Function App
module.exports = async function (context, req) {
context.log('JavaScript HTTP trigger function processed a request.');
context.log.info({'req.query': req.query})
context.log.info({'req.body': req.body})
const min = req.query.min || (req.body && req.body.min) ? parseInt((req.query.min || req.body.min)) : 1
const max = req.query.max || (req.body && req.body.max) ? parseInt((req.query.max || req.body.max)) : 100
const randomVal = Math.floor(Math.random() * (max - min + 1) + min)
const result = {
min: min,
max: max,
randomVal: randomVal
}
context.res = {
status: 200, // Defaults to 200, but included here for illustration
body: result
}
}
# list versions
az --version
# login
az login # this opens a browser
az login -u <username> -p <password>
# Add a resource group
# https://docs.microsoft.com/en-us/azure/azure-resource-manager/cli-azure-resource-manager
az group create --name MyResourceGroup --location "South Central US"
https://docs.microsoft.com/en-us/azure/azure-functions/functions-create-first-azure-function-azure-cli