3. Touring
Oracle Cloud
services
for cloud native
application
development
Introduction
Demonstration
Guided Handson Labs
Q&A
All sessions are recorded and will be available for replay
5. Preparation for the
Katacoda Hands-On Labs
• Arrange access to Oracle Cloud Infrastructure
Tenancy
• Existing or new OCI Cloud Trial
• Existing OCI tenancy
• Go to http://bit.ly/real-oci
home of the REAL Katacoda scenarios for OCI
• Run First Scenario to prepare the OCI tenancy
for REAL Katacoda OCI Scenarios
• Provision an OCI compartment and some
resources
• Prepare auth token, key pair and config file
for using the OCI CLI in other scenarios
Go http://bit.ly/real-oci
6. Cloud Trial
as
Registered
Webinar
Attendee
• Signup for Cloud Trial with same email address as used for webinar
registration
• Use a company email address (not gmail or hotmail); do not use an address already used
for an Oracle Cloud Trial
• Do not use credit card – because email is whitelisted (as of tomorrow, June 11th)
• You will get
• $500 credits on (discounted) Oacle cloud services
• Access to always Free Tier
cloud.oracle.com/tryit
7. The Prepared Tenancy
Compartment – lab-compartment
VCN
vcn-lab
API Gateway
lab-apigw
Stream
lab-stream
Public Subnet-
vcn-lab
Private Subnet-
vcn-lab
IGW
Dynamic Group
lab-apigw-
dynamic-group
policies
Security
Group
Tag Namespace
lab-tags
8. Preparation for OKE Scenarios
• Provision a new Kubernetes cluster (in less
than 12 minutes) (First Part)
• Provision a Compute Instance with an NGINX
server that will perfom as reverse proxy for
the API Server (K8s) (Second Part)
• Connect to the cluster and work with it
(Third Part)
• Connect to the Cluster
• Create a namespace
• Deploy services
• Create services
• Scale your services
9. Understanding the services
• The scenario is going to provide an
authentication service
• The Service will provide:
• The ability to authenticate a user and generate a
token
• The ability to retrieve the user profile
• The ability to refresh the token
• The Service will be Golang based
• Service has the logic to retrieve the profile,
generate a new token or refresh it
• REDIS is used to store the tokens and
manage their lifecycle
10.
11. K8s API Server.
Master
K8s
Worker 3
K8s
Worker 2
K8s
Worker 1
OCI Services for Cloud Native Application Development
Public Subnet
Private Subnet
VCN
Port 6443 is blocked for outbound from katakoda environment
12. K8s API Server
Master
NGINX
REVER
SE
PROXY
K8s
Worker 3
K8s
Worker 2
K8s
Worker 1
OCI Services for Cloud Native Application Development
Public Subnet
Private Subnet
VCN
SL
Now we can connect through this reverse proxy using port 443
13. Why and What a Kubernetes scenario?
• K8s is the foundation for Cloud Native
• Oracle has an offering for that. We want you to try it and test it
• OKE runs on top of OCI. Is a first class citizen
• To proof that in less than 60 minutes we can provision and
deploy services
• Deploy a REDIS Cluster
• Create a Go based API to simulate an authentication Service
• Deploy the API in the cluster
• Test the API
• Scale your API
14. Q&A
and
Live Handson
Ask your questions
in the Zoom Q&A
Window
Get your Cloud
Trial:
We will stay
online for the
next hour to help
you out with
handson
challenges http://bit.ly/real-oci
cloud.oracle.com/tryit