AZ-204: Connect to and consume Azure services and third-party services - Part 1

A
1
Starting at 7 PM IST
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Session 6
AZ-204: Connect to and
consume Azure services and
third-party services - Part 1
2
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Today’s Session Speaker
Sanjib Panigrahi
AzureEzy Core Team
MCP, Sr Software Engineer
3
Ashish Raj
AzureEzy Co-founder
DevOps Architect, MCT
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Win Azure Exam Vouchers
• Participate in quiz during session
• 6 Selected participants will get free Azure
Exam Vouchers
• 1 selected participant will get free print copy
of Demystifying Azure DevOps Services
• Must be registered on Eventbrite
• Winner will be announced in next session
• #AzureEzy
4
Free Azure Exam
Vouchers
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Developer Associate- Cert Path
5
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
AZ-204: Skills Measured
• Develop Azure compute solutions (25-30%)
• Develop for Azure storage (15-20%)
• Implement Azure security (20-25%)
• Monitor, troubleshoot, and optimize Azure
solutions (15-20%)
• Connect to and consume Azure services and
third-party services (15-20%)
6
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Prerequisites
• Hands-on experience with Azure IaaS, PaaS solutions, and Azure Portal
• Experience writing in an Azure supported language at the intermediate
level. (C#, JavaScript, Python, or Java)
• Ability to write code to connect and perform operations on, a SQL or
NoSQL database product. (SQL Server, Oracle, MongoDB, Cassandra or
similar)
• Experience writing code to handle authentication, authorization, and
other security principles at the intermediate level
• Understanding of HTML, HTTP protocol and REST API interfaces
7
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Agenda
•Implement API Management
•create an APIM instance
•configure authentication for APIs
•define policies for APIs
8
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
create an APIM instance
9
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Why APIM
• API documentations
• Rate limiting access
• Monitoring
• Single JSON format
• API Usage Analysis
• Security
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Pricing
11
Consumption Developer Basic Standard Premium
Isolated
Preview
Scale-out (units) N/A 1 2 4 12 per region
12 per
region
SLA 99.95% No 99.95% 99.95% 99.99% 1 99.99%
Isolation Shared Private Private Private Private Private
Usage limits Limits apply No No No No No
https://azure.microsoft.com/en-us/pricing/details/api-management/
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
APIM Setup
• Create APIM Gateway
• Register existing web API
• Call web API through Gateway
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Create APIM Gateway
13
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Import API
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
APIM Components
• API Gateway
• Azure Portal
• Developer Portal
• Products
• Groups
• Developers
• Administrators
• Guests
• Policies
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Configure authentication for
APIs
16
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Authentication in API
• Subscription Key
• Client Certificate
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Using Subscription Key
curl --header "Ocp-Apim-Subscription-Key: <key string>" https://<apim gateway>.azure-api.net/api/path
curl https://<apim gateway>.azure-api.net/api/path?subscription-key=<key string>
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Using Certificate
Property Reason
Certificate
Authority
(CA)
Only allow certificates signed by
a particular CA.
Thumbprint Allow certificates containing a
specified thumbprint.
Subject Only allow certificates with a
specified subject.
Expiration
Date
Only allow certificates that have
not expired.
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Policies
20
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
APIM Policy
• Set limits
• Convert response format
• Enforce security
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Policy Execution & Scope
• Inbound
• Backend
• Outbound
• On-Error
• Global
• Product
• API
• Operation
When?
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Policy Example
<policies>
<inbound>
<base />
<check-header name="Authorization" failed-check-httpcode="401" failed-check-error-message="Not authorized" ignore-case="false">
</check-header>
</inbound>
<backend> <base />
</backend>
<outbound>
<base />
<json-to-xml apply="always" consider-accept-header="false" parse-date="false" />
</outbound>
<on-error>
<base />
</on-error>
</policies>
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Authentication Policy example
<choose>
<when condition="@(context.Request.Certificate == null || context.Request.Certificate.Thumbprint != "desired-thumbprint")" >
<return-response>
<set-status code="403" reason="Invalid client certificate" />
</return-response>
</when>
</choose>
24
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Common Policies
• Access restrictions
• Authentication policies
• Cross domain
• Transformation policies
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Break
26
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Demo
1. Creating a multi-tier solution by using services in Azure
➢ Creating a multi-tier solution by using services in Azure
➢ Build an API proxy tier by using Azure API Management
27
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Quiz
30
https://q.azureezy.com/az-204
Free Azure Exam Vouchers
Winners' announcement in next session on 29th August 2021
Register for next session at azureezy.com/az-204
Update your skills on LinkedIn and enter a chance to win
Surface Go!!
More info @ https://azureezy.com/azure-skills-feb21
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Winners Announcements
• Winners for Previous Session “Monitor, troubleshoot, and
optimize Azure solutions”
31
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
32
https://bharatguru.in
https://www.linkedin.com/in/vipinkumarjha/
https://www.linkedin.com/in/ashishrajsrivastava
https://azuredevopspro.com
https://youtube.com/AshishRajSrivastava
@ashishrajs
https://www.linkedin.com/in
/sanjibpanigrahi/
Thanks!
https://azureezy.com/az-204
https://t.me/AzureTalk
https://youtube.com/AzureTalk
https://t.me/AzureDevOpsPro
1 of 30

Recommended

Develop for Azure storage by
Develop for Azure storageDevelop for Azure storage
Develop for Azure storageAzureEzy1
1.5K views46 slides
AZ-400: Define and implement continuous integration – Part 2 by
AZ-400: Define and implement continuous integration – Part 2AZ-400: Define and implement continuous integration – Part 2
AZ-400: Define and implement continuous integration – Part 2AzureEzy1
1.7K views23 slides
AZ-400 Session 1: Facilitate communication and collaboration by
AZ-400 Session 1: Facilitate communication and collaborationAZ-400 Session 1: Facilitate communication and collaboration
AZ-400 Session 1: Facilitate communication and collaborationAzureEzy1
2.3K views54 slides
AZ-400: Define and implement a continuous delivery and release management str... by
AZ-400: Define and implement a continuous delivery and release management str...AZ-400: Define and implement a continuous delivery and release management str...
AZ-400: Define and implement a continuous delivery and release management str...AzureEzy1
1.7K views27 slides
Az 104 session 2 implement and manage azure webapps and container by
Az 104 session 2 implement and manage azure webapps and containerAz 104 session 2 implement and manage azure webapps and container
Az 104 session 2 implement and manage azure webapps and containerAzureEzy1
12.7K views59 slides
Az 900 Session 3 Security, privacy, compliance, trust, pricing, SLA and Lifec... by
Az 900 Session 3 Security, privacy, compliance, trust, pricing, SLA and Lifec...Az 900 Session 3 Security, privacy, compliance, trust, pricing, SLA and Lifec...
Az 900 Session 3 Security, privacy, compliance, trust, pricing, SLA and Lifec...AzureEzy1
5.2K views55 slides

More Related Content

What's hot

Az 104 session 8 azure monitoring by
Az 104 session 8 azure monitoringAz 104 session 8 azure monitoring
Az 104 session 8 azure monitoringAzureEzy1
11.3K views49 slides
Dev ops &amp; laas fundamental by
Dev ops &amp; laas fundamentalDev ops &amp; laas fundamental
Dev ops &amp; laas fundamentalKanin Kearpimy
89 views124 slides
Azure Low Lands 2019 - Building secure cloud applications with Azure Key Vault by
Azure Low Lands 2019 - Building secure cloud applications with Azure Key VaultAzure Low Lands 2019 - Building secure cloud applications with Azure Key Vault
Azure Low Lands 2019 - Building secure cloud applications with Azure Key VaultTom Kerkhove
1.6K views55 slides
Identity Security - Azure Active Directory by
Identity Security - Azure Active DirectoryIdentity Security - Azure Active Directory
Identity Security - Azure Active DirectoryEng Teong Cheah
92 views16 slides
OWASP SF - Reviewing Modern JavaScript Applications by
OWASP SF - Reviewing Modern JavaScript ApplicationsOWASP SF - Reviewing Modern JavaScript Applications
OWASP SF - Reviewing Modern JavaScript ApplicationsLewis Ardern
5.2K views44 slides
Citrix with Microsoft EMS by
Citrix with Microsoft EMSCitrix with Microsoft EMS
Citrix with Microsoft EMSMarius Sandbu
1.1K views17 slides

What's hot(20)

Az 104 session 8 azure monitoring by AzureEzy1
Az 104 session 8 azure monitoringAz 104 session 8 azure monitoring
Az 104 session 8 azure monitoring
AzureEzy111.3K views
Azure Low Lands 2019 - Building secure cloud applications with Azure Key Vault by Tom Kerkhove
Azure Low Lands 2019 - Building secure cloud applications with Azure Key VaultAzure Low Lands 2019 - Building secure cloud applications with Azure Key Vault
Azure Low Lands 2019 - Building secure cloud applications with Azure Key Vault
Tom Kerkhove1.6K views
Identity Security - Azure Active Directory by Eng Teong Cheah
Identity Security - Azure Active DirectoryIdentity Security - Azure Active Directory
Identity Security - Azure Active Directory
Eng Teong Cheah92 views
OWASP SF - Reviewing Modern JavaScript Applications by Lewis Ardern
OWASP SF - Reviewing Modern JavaScript ApplicationsOWASP SF - Reviewing Modern JavaScript Applications
OWASP SF - Reviewing Modern JavaScript Applications
Lewis Ardern5.2K views
Citrix with Microsoft EMS by Marius Sandbu
Citrix with Microsoft EMSCitrix with Microsoft EMS
Citrix with Microsoft EMS
Marius Sandbu1.1K views
State of the EUC - 2020 What's new in End-User Computing by Marius Sandbu
State of the EUC - 2020 What's new in End-User ComputingState of the EUC - 2020 What's new in End-User Computing
State of the EUC - 2020 What's new in End-User Computing
Marius Sandbu464 views
Building APIs with NodeJS on Microsoft Azure Websites - Redmond by Rick G. Garibay
Building APIs with NodeJS on Microsoft Azure Websites - RedmondBuilding APIs with NodeJS on Microsoft Azure Websites - Redmond
Building APIs with NodeJS on Microsoft Azure Websites - Redmond
Rick G. Garibay8.9K views
From the Internet of Things to Intelligent Systems A Developer's Primer - Gar... by Rick G. Garibay
From the Internet of Things to Intelligent Systems A Developer's Primer - Gar...From the Internet of Things to Intelligent Systems A Developer's Primer - Gar...
From the Internet of Things to Intelligent Systems A Developer's Primer - Gar...
Rick G. Garibay12.9K views
Techdays Finland 2018 - Building secure cloud applications with Azure Key Vault by Tom Kerkhove
Techdays Finland 2018 - Building secure cloud applications with Azure Key VaultTechdays Finland 2018 - Building secure cloud applications with Azure Key Vault
Techdays Finland 2018 - Building secure cloud applications with Azure Key Vault
Tom Kerkhove509 views
OWASP Portland - OWASP Top 10 For JavaScript Developers by Lewis Ardern
OWASP Portland - OWASP Top 10 For JavaScript DevelopersOWASP Portland - OWASP Top 10 For JavaScript Developers
OWASP Portland - OWASP Top 10 For JavaScript Developers
Lewis Ardern1.1K views
State of the EUC - 2020 What's new in End-User Computing by Marius Sandbu
State of the EUC - 2020 What's new in End-User ComputingState of the EUC - 2020 What's new in End-User Computing
State of the EUC - 2020 What's new in End-User Computing
Marius Sandbu1K views
Delivering and optimizing citrix from microsoft azure by Marius Sandbu
Delivering and optimizing citrix from microsoft azure Delivering and optimizing citrix from microsoft azure
Delivering and optimizing citrix from microsoft azure
Marius Sandbu3.7K views
AppSec Tel Aviv - OWASP Top 10 For JavaScript Developers by Lewis Ardern
AppSec Tel Aviv - OWASP Top 10 For JavaScript Developers AppSec Tel Aviv - OWASP Top 10 For JavaScript Developers
AppSec Tel Aviv - OWASP Top 10 For JavaScript Developers
Lewis Ardern950 views
java in cloud - adopt cloud dev's DHARMA by Hochi Chuang
java in cloud - adopt cloud dev's DHARMAjava in cloud - adopt cloud dev's DHARMA
java in cloud - adopt cloud dev's DHARMA
Hochi Chuang1.1K views
Log in to a Linux VM in Azure using AAD authentication by Takayoshi Tanaka
Log in to a Linux VM in Azure using AAD authenticationLog in to a Linux VM in Azure using AAD authentication
Log in to a Linux VM in Azure using AAD authentication
Takayoshi Tanaka2.2K views
IoT cloud system implemented based on Azure services by Szymon Włodarczyk
IoT cloud system implemented based on Azure servicesIoT cloud system implemented based on Azure services
IoT cloud system implemented based on Azure services
Presentation for git jira and linux by dkylko1
Presentation for git jira and linuxPresentation for git jira and linux
Presentation for git jira and linux
dkylko130 views
Global domination with kentico by Jeroen Fürst
Global domination with kenticoGlobal domination with kentico
Global domination with kentico
Jeroen Fürst117 views

Similar to AZ-204: Connect to and consume Azure services and third-party services - Part 1

AZ-204: Monitor, Troubleshoot & Optimize Azure Solutions by
AZ-204: Monitor, Troubleshoot & Optimize Azure SolutionsAZ-204: Monitor, Troubleshoot & Optimize Azure Solutions
AZ-204: Monitor, Troubleshoot & Optimize Azure SolutionsAzureEzy1
1.5K views49 slides
AZ-204 : Implement Azure security by
AZ-204 : Implement Azure securityAZ-204 : Implement Azure security
AZ-204 : Implement Azure securityAzureEzy1
1.6K views39 slides
Develop Azure compute solutions Part - 2 by
Develop Azure compute solutions Part - 2Develop Azure compute solutions Part - 2
Develop Azure compute solutions Part - 2AzureEzy1
296 views33 slides
Application Security in ASP.NET Core by
Application Security in ASP.NET CoreApplication Security in ASP.NET Core
Application Security in ASP.NET CoreNETUserGroupBern
30 views57 slides
Az 104 session 6 azure networking part2 by
Az 104 session 6 azure networking part2Az 104 session 6 azure networking part2
Az 104 session 6 azure networking part2AzureEzy1
12K views46 slides
CIAOPS Need to Know Azure Webinar - January 2018 by
CIAOPS Need to Know Azure Webinar - January 2018CIAOPS Need to Know Azure Webinar - January 2018
CIAOPS Need to Know Azure Webinar - January 2018Robert Crane
689 views26 slides

Similar to AZ-204: Connect to and consume Azure services and third-party services - Part 1(20)

AZ-204: Monitor, Troubleshoot & Optimize Azure Solutions by AzureEzy1
AZ-204: Monitor, Troubleshoot & Optimize Azure SolutionsAZ-204: Monitor, Troubleshoot & Optimize Azure Solutions
AZ-204: Monitor, Troubleshoot & Optimize Azure Solutions
AzureEzy11.5K views
AZ-204 : Implement Azure security by AzureEzy1
AZ-204 : Implement Azure securityAZ-204 : Implement Azure security
AZ-204 : Implement Azure security
AzureEzy11.6K views
Develop Azure compute solutions Part - 2 by AzureEzy1
Develop Azure compute solutions Part - 2Develop Azure compute solutions Part - 2
Develop Azure compute solutions Part - 2
AzureEzy1296 views
Az 104 session 6 azure networking part2 by AzureEzy1
Az 104 session 6 azure networking part2Az 104 session 6 azure networking part2
Az 104 session 6 azure networking part2
AzureEzy112K views
CIAOPS Need to Know Azure Webinar - January 2018 by Robert Crane
CIAOPS Need to Know Azure Webinar - January 2018CIAOPS Need to Know Azure Webinar - January 2018
CIAOPS Need to Know Azure Webinar - January 2018
Robert Crane689 views
Az 104 session 4: azure storage by AzureEzy1
Az 104 session 4: azure storageAz 104 session 4: azure storage
Az 104 session 4: azure storage
AzureEzy112.1K views
GitOps with Argo - Part 1.pdf by Ashish Raj
GitOps with Argo - Part 1.pdfGitOps with Argo - Part 1.pdf
GitOps with Argo - Part 1.pdf
Ashish Raj9 views
Global Azure 2022 - Architecting Modern Serverless APIs with Azure Functions ... by Callon Campbell
Global Azure 2022 - Architecting Modern Serverless APIs with Azure Functions ...Global Azure 2022 - Architecting Modern Serverless APIs with Azure Functions ...
Global Azure 2022 - Architecting Modern Serverless APIs with Azure Functions ...
Callon Campbell30 views
Az 104 session 5: Azure networking by AzureEzy1
Az 104 session 5: Azure networkingAz 104 session 5: Azure networking
Az 104 session 5: Azure networking
AzureEzy112.1K views
the 12 facets of OpenAPI by Cisco DevNet
the 12 facets of OpenAPIthe 12 facets of OpenAPI
the 12 facets of OpenAPI
Cisco DevNet34 views
Strategies to automate deployment and provisioning of Microsoft Azure. by HARMAN Services
Strategies to automate deployment and provisioning of Microsoft Azure.Strategies to automate deployment and provisioning of Microsoft Azure.
Strategies to automate deployment and provisioning of Microsoft Azure.
HARMAN Services2.9K views
Azure Stack Overview (Dec/2018) by Cenk Ersoy
Azure Stack Overview (Dec/2018)Azure Stack Overview (Dec/2018)
Azure Stack Overview (Dec/2018)
Cenk Ersoy1.5K views
The 12 facets of the OpenAPI standard.pdf by Cisco DevNet
The 12 facets of the OpenAPI standard.pdfThe 12 facets of the OpenAPI standard.pdf
The 12 facets of the OpenAPI standard.pdf
Cisco DevNet36 views
Applying Advanced Techniques to Azure Web Apps by Roy Kim
Applying Advanced Techniques to Azure Web AppsApplying Advanced Techniques to Azure Web Apps
Applying Advanced Techniques to Azure Web Apps
Roy Kim395 views
API, Integration, and SOA Convergence by Kasun Indrasiri
API, Integration, and SOA ConvergenceAPI, Integration, and SOA Convergence
API, Integration, and SOA Convergence
Kasun Indrasiri2.8K views
Containers on azure web apps by Rajesh Kolla
Containers on azure web appsContainers on azure web apps
Containers on azure web apps
Rajesh Kolla44 views
Planning and deploying_share_point_farm_in_azure_gabsg_2016 by Thuan Ng
Planning and deploying_share_point_farm_in_azure_gabsg_2016Planning and deploying_share_point_farm_in_azure_gabsg_2016
Planning and deploying_share_point_farm_in_azure_gabsg_2016
Thuan Ng1.2K views
Online Meetup - MuleSoft - June 2020 by Royston Lobo
 Online Meetup - MuleSoft - June 2020  Online Meetup - MuleSoft - June 2020
Online Meetup - MuleSoft - June 2020
Royston Lobo2.2K views

Recently uploaded

Microsoft Power Platform.pptx by
Microsoft Power Platform.pptxMicrosoft Power Platform.pptx
Microsoft Power Platform.pptxUni Systems S.M.S.A.
53 views38 slides
SUPPLIER SOURCING.pptx by
SUPPLIER SOURCING.pptxSUPPLIER SOURCING.pptx
SUPPLIER SOURCING.pptxangelicacueva6
15 views1 slide
Serverless computing with Google Cloud (2023-24) by
Serverless computing with Google Cloud (2023-24)Serverless computing with Google Cloud (2023-24)
Serverless computing with Google Cloud (2023-24)wesley chun
11 views33 slides
STKI Israeli Market Study 2023 corrected forecast 2023_24 v3.pdf by
STKI Israeli Market Study 2023   corrected forecast 2023_24 v3.pdfSTKI Israeli Market Study 2023   corrected forecast 2023_24 v3.pdf
STKI Israeli Market Study 2023 corrected forecast 2023_24 v3.pdfDr. Jimmy Schwarzkopf
19 views29 slides
Future of Indian ConsumerTech by
Future of Indian ConsumerTechFuture of Indian ConsumerTech
Future of Indian ConsumerTechKapil Khandelwal (KK)
21 views68 slides
STPI OctaNE CoE Brochure.pdf by
STPI OctaNE CoE Brochure.pdfSTPI OctaNE CoE Brochure.pdf
STPI OctaNE CoE Brochure.pdfmadhurjyapb
14 views1 slide

Recently uploaded(20)

Serverless computing with Google Cloud (2023-24) by wesley chun
Serverless computing with Google Cloud (2023-24)Serverless computing with Google Cloud (2023-24)
Serverless computing with Google Cloud (2023-24)
wesley chun11 views
STKI Israeli Market Study 2023 corrected forecast 2023_24 v3.pdf by Dr. Jimmy Schwarzkopf
STKI Israeli Market Study 2023   corrected forecast 2023_24 v3.pdfSTKI Israeli Market Study 2023   corrected forecast 2023_24 v3.pdf
STKI Israeli Market Study 2023 corrected forecast 2023_24 v3.pdf
STPI OctaNE CoE Brochure.pdf by madhurjyapb
STPI OctaNE CoE Brochure.pdfSTPI OctaNE CoE Brochure.pdf
STPI OctaNE CoE Brochure.pdf
madhurjyapb14 views
SAP Automation Using Bar Code and FIORI.pdf by Virendra Rai, PMP
SAP Automation Using Bar Code and FIORI.pdfSAP Automation Using Bar Code and FIORI.pdf
SAP Automation Using Bar Code and FIORI.pdf
The details of description: Techniques, tips, and tangents on alternative tex... by BookNet Canada
The details of description: Techniques, tips, and tangents on alternative tex...The details of description: Techniques, tips, and tangents on alternative tex...
The details of description: Techniques, tips, and tangents on alternative tex...
BookNet Canada127 views
Data Integrity for Banking and Financial Services by Precisely
Data Integrity for Banking and Financial ServicesData Integrity for Banking and Financial Services
Data Integrity for Banking and Financial Services
Precisely21 views
ESPC 2023 - Protect and Govern your Sensitive Data with Microsoft Purview in ... by Jasper Oosterveld
ESPC 2023 - Protect and Govern your Sensitive Data with Microsoft Purview in ...ESPC 2023 - Protect and Govern your Sensitive Data with Microsoft Purview in ...
ESPC 2023 - Protect and Govern your Sensitive Data with Microsoft Purview in ...
Attacking IoT Devices from a Web Perspective - Linux Day by Simone Onofri
Attacking IoT Devices from a Web Perspective - Linux Day Attacking IoT Devices from a Web Perspective - Linux Day
Attacking IoT Devices from a Web Perspective - Linux Day
Simone Onofri16 views
Automating a World-Class Technology Conference; Behind the Scenes of CiscoLive by Network Automation Forum
Automating a World-Class Technology Conference; Behind the Scenes of CiscoLiveAutomating a World-Class Technology Conference; Behind the Scenes of CiscoLive
Automating a World-Class Technology Conference; Behind the Scenes of CiscoLive
Case Study Copenhagen Energy and Business Central.pdf by Aitana
Case Study Copenhagen Energy and Business Central.pdfCase Study Copenhagen Energy and Business Central.pdf
Case Study Copenhagen Energy and Business Central.pdf
Aitana16 views
【USB韌體設計課程】精選講義節錄-USB的列舉過程_艾鍗學院 by IttrainingIttraining
【USB韌體設計課程】精選講義節錄-USB的列舉過程_艾鍗學院【USB韌體設計課程】精選講義節錄-USB的列舉過程_艾鍗學院
【USB韌體設計課程】精選講義節錄-USB的列舉過程_艾鍗學院

AZ-204: Connect to and consume Azure services and third-party services - Part 1

  • 2. https://azureezy.com © 2020 AzureEzy and AzureTalk. All rights reserved! Session 6 AZ-204: Connect to and consume Azure services and third-party services - Part 1 2
  • 3. https://azureezy.com © 2020 AzureEzy and AzureTalk. All rights reserved! Today’s Session Speaker Sanjib Panigrahi AzureEzy Core Team MCP, Sr Software Engineer 3 Ashish Raj AzureEzy Co-founder DevOps Architect, MCT
  • 4. https://azureezy.com © 2020 AzureEzy and AzureTalk. All rights reserved! Win Azure Exam Vouchers • Participate in quiz during session • 6 Selected participants will get free Azure Exam Vouchers • 1 selected participant will get free print copy of Demystifying Azure DevOps Services • Must be registered on Eventbrite • Winner will be announced in next session • #AzureEzy 4 Free Azure Exam Vouchers
  • 5. https://azureezy.com © 2020 AzureEzy and AzureTalk. All rights reserved! Developer Associate- Cert Path 5
  • 6. https://azureezy.com © 2020 AzureEzy and AzureTalk. All rights reserved! AZ-204: Skills Measured • Develop Azure compute solutions (25-30%) • Develop for Azure storage (15-20%) • Implement Azure security (20-25%) • Monitor, troubleshoot, and optimize Azure solutions (15-20%) • Connect to and consume Azure services and third-party services (15-20%) 6
  • 7. https://azureezy.com © 2020 AzureEzy and AzureTalk. All rights reserved! Prerequisites • Hands-on experience with Azure IaaS, PaaS solutions, and Azure Portal • Experience writing in an Azure supported language at the intermediate level. (C#, JavaScript, Python, or Java) • Ability to write code to connect and perform operations on, a SQL or NoSQL database product. (SQL Server, Oracle, MongoDB, Cassandra or similar) • Experience writing code to handle authentication, authorization, and other security principles at the intermediate level • Understanding of HTML, HTTP protocol and REST API interfaces 7
  • 8. https://azureezy.com © 2020 AzureEzy and AzureTalk. All rights reserved! Agenda •Implement API Management •create an APIM instance •configure authentication for APIs •define policies for APIs 8
  • 9. https://azureezy.com © 2020 AzureEzy and AzureTalk. All rights reserved! create an APIM instance 9
  • 10. https://azureezy.com © 2020 AzureEzy and AzureTalk. All rights reserved! Why APIM • API documentations • Rate limiting access • Monitoring • Single JSON format • API Usage Analysis • Security
  • 11. https://azureezy.com © 2020 AzureEzy and AzureTalk. All rights reserved! Pricing 11 Consumption Developer Basic Standard Premium Isolated Preview Scale-out (units) N/A 1 2 4 12 per region 12 per region SLA 99.95% No 99.95% 99.95% 99.99% 1 99.99% Isolation Shared Private Private Private Private Private Usage limits Limits apply No No No No No https://azure.microsoft.com/en-us/pricing/details/api-management/
  • 12. https://azureezy.com © 2020 AzureEzy and AzureTalk. All rights reserved! APIM Setup • Create APIM Gateway • Register existing web API • Call web API through Gateway
  • 13. https://azureezy.com © 2020 AzureEzy and AzureTalk. All rights reserved! Create APIM Gateway 13
  • 14. https://azureezy.com © 2020 AzureEzy and AzureTalk. All rights reserved! Import API
  • 15. https://azureezy.com © 2020 AzureEzy and AzureTalk. All rights reserved! APIM Components • API Gateway • Azure Portal • Developer Portal • Products • Groups • Developers • Administrators • Guests • Policies
  • 16. https://azureezy.com © 2020 AzureEzy and AzureTalk. All rights reserved! Configure authentication for APIs 16
  • 17. https://azureezy.com © 2020 AzureEzy and AzureTalk. All rights reserved! Authentication in API • Subscription Key • Client Certificate
  • 18. https://azureezy.com © 2020 AzureEzy and AzureTalk. All rights reserved! Using Subscription Key curl --header "Ocp-Apim-Subscription-Key: <key string>" https://<apim gateway>.azure-api.net/api/path curl https://<apim gateway>.azure-api.net/api/path?subscription-key=<key string>
  • 19. https://azureezy.com © 2020 AzureEzy and AzureTalk. All rights reserved! Using Certificate Property Reason Certificate Authority (CA) Only allow certificates signed by a particular CA. Thumbprint Allow certificates containing a specified thumbprint. Subject Only allow certificates with a specified subject. Expiration Date Only allow certificates that have not expired.
  • 20. https://azureezy.com © 2020 AzureEzy and AzureTalk. All rights reserved! Policies 20
  • 21. https://azureezy.com © 2020 AzureEzy and AzureTalk. All rights reserved! APIM Policy • Set limits • Convert response format • Enforce security
  • 22. https://azureezy.com © 2020 AzureEzy and AzureTalk. All rights reserved! Policy Execution & Scope • Inbound • Backend • Outbound • On-Error • Global • Product • API • Operation When?
  • 23. https://azureezy.com © 2020 AzureEzy and AzureTalk. All rights reserved! Policy Example <policies> <inbound> <base /> <check-header name="Authorization" failed-check-httpcode="401" failed-check-error-message="Not authorized" ignore-case="false"> </check-header> </inbound> <backend> <base /> </backend> <outbound> <base /> <json-to-xml apply="always" consider-accept-header="false" parse-date="false" /> </outbound> <on-error> <base /> </on-error> </policies>
  • 24. https://azureezy.com © 2020 AzureEzy and AzureTalk. All rights reserved! Authentication Policy example <choose> <when condition="@(context.Request.Certificate == null || context.Request.Certificate.Thumbprint != "desired-thumbprint")" > <return-response> <set-status code="403" reason="Invalid client certificate" /> </return-response> </when> </choose> 24
  • 25. https://azureezy.com © 2020 AzureEzy and AzureTalk. All rights reserved! Common Policies • Access restrictions • Authentication policies • Cross domain • Transformation policies
  • 26. https://azureezy.com © 2020 AzureEzy and AzureTalk. All rights reserved! Break 26
  • 27. https://azureezy.com © 2020 AzureEzy and AzureTalk. All rights reserved! Demo 1. Creating a multi-tier solution by using services in Azure ➢ Creating a multi-tier solution by using services in Azure ➢ Build an API proxy tier by using Azure API Management 27
  • 28. https://azureezy.com © 2020 AzureEzy and AzureTalk. All rights reserved! Quiz 30 https://q.azureezy.com/az-204 Free Azure Exam Vouchers Winners' announcement in next session on 29th August 2021 Register for next session at azureezy.com/az-204 Update your skills on LinkedIn and enter a chance to win Surface Go!! More info @ https://azureezy.com/azure-skills-feb21
  • 29. https://azureezy.com © 2020 AzureEzy and AzureTalk. All rights reserved! Winners Announcements • Winners for Previous Session “Monitor, troubleshoot, and optimize Azure solutions” 31
  • 30. https://azureezy.com © 2020 AzureEzy and AzureTalk. All rights reserved! 32 https://bharatguru.in https://www.linkedin.com/in/vipinkumarjha/ https://www.linkedin.com/in/ashishrajsrivastava https://azuredevopspro.com https://youtube.com/AshishRajSrivastava @ashishrajs https://www.linkedin.com/in /sanjibpanigrahi/ Thanks! https://azureezy.com/az-204 https://t.me/AzureTalk https://youtube.com/AzureTalk https://t.me/AzureDevOpsPro