Cloud Native App Dev Series…

Welcome to the Cloud Native App Dev Series. We built and constantly maintain this space to help others get up to speed with Cloud Native App Dev technologies and discover the power of Autonomous Cloud Services.

 

  • Kubernetes:
    • Containers 101: Learn how to containerise and ship your applications to Kubernetes using Docker
    • Kubernetes 101: Get familiar with Kubernetes architecture and components.
    • Kubernetes Dashboard: Deep dive into the Kubernetes dashboard components and concepts.
    • Provision Kubernetes: Learn how to install Kubernetes locally or in the Cloud.
    • Microservices Deployments 101: Learn how to deploy your Microservices into Kubernetes.
    • Cheeses App – Self-Healing and Scalability: Discover how simple it is to run and scale your microservices in Kubernetes.
    • Socks-shop Polyglot App: Play with a polyglot-based microservices application in Kubernetes.
    • (Work in progress…) Roll out your Microservices: Learn how to roll out and roll over your Applications in Kubernetes
    • (Work in progress…) Operators and Service Broker: Learn how to consume other Cloud Services as native Kubernetes workloads.

       

  • Serverless:
    • (Work in progress…) Serverless 101: Get up to speed with Serverless.

     

  • Service Mesh (Istio and Envoy):
    • Service Mesh 101: Get familiar with Service Mesh, using technologies like Istio and Envoy.
    • Policy Enforcement: Learn how to enforce simple routing policies in Service Mesh.
    • Circuit Breaker – Network-Latency based routing. Learn how to enforce more complex Service Mesh routing policies, based on network latency.

       

  • PaaS:
    • Build Modern Web development: Use Autonomous Visual Builder to construct modern Web UIs in minutes
    • Autonomous Data Warehouse 101: Learn how to provision Autonomous Data Warehouse in minutes. Load millions of records in seconds and visually analyse the data.
    • (Work in progress…) Running Visualization on Autonomous Data Warehouse: Learn how to connect Data Visualizer to Autonomous Data Warehouse.
    • Chatbot Development: Learn how to build chatbots in the Cloud.
    • (Work in progress…) Blockchain 101: Get familiar with Blockchain concepts and use cases.

 

Congratulations!!! You have enough to start building your own Cloud Native Applications.

We will keep publishing interesting topics, so you better stay tuned! If you have suggestions for new topics, please contact me directly via https://www.linkedin.com/in/citurria/

Thanks for your time.

*Special thanks to Cameron Senese for being a great mentor and a Cloud warrior, helping us demystify the exciting world of Kubernetes and Microservices… As we keep demystifying technologies and patterns, we are going to keep adding interesting topics, so you better stay tuned!

 

Socks-shop Polyglot App in Kubernetes…

This Lab, logically follows previous steps required to provision and curate a Kubernetes cluster. Please review them before proceeding. If you are in doubt, feel free to contact me directly via https://www.linkedin.com/in/citurria/

In this Lab, we will show how to manage a more complex Microservices-based application based on an E-Commerce Socks-shop App (also see here). Similarly, as with the Simpler Cheeses App, we are going to use Weave Scope to gather real-time insight into this more complex application.

This is an e-commerce application that sells socks on web. However, we chose this application because it is not any different to any modern Application. That is, it is based on multiple microservices, where each one use different technologies as programming languages/frameworks, as well as persistent back stores or databases.

That is:


For more information, see: Weave-socks multiple technologies
(and github).

Continue reading “Socks-shop Polyglot App in Kubernetes…”

Cheeses App – Self-Healing and Scalability in Kubernetes…

This Lab, logically follows previous steps required to provision and curate a Kubernetes cluster. Please review them before proceeding. If you are in doubt, feel free to contact me directly via https://www.linkedin.com/in/citurria/

In this Lab, we will show how to deploy microservices-based Applications into Kubernetes cluster. Then we are going to use an Open Source framework called Weave Scope, to gather in real-time runtime insight into it. We will finish by learning a few tricks to easily manage your microservices.

The Application that we are going to deploy is based on “Cheeses“. It is made of 3 microservices (3 types of cheeses) that when invoked via an API, they simply return their own name (i.e. cheddar, stilton, or wensleydale).

Continue reading “Cheeses App – Self-Healing and Scalability in Kubernetes…”

Kubernetes Dashboard Deep Dive…

In this blog, you will get familiar with the Kubernetes Cluster UI Dashboard and with the various components that are pre-deployed in your sandbox environment.

Kubernetes Dashboard UI is a web-based interface that lets you visually see all the different components of the Kubernetes cluster, as well as to deploy and manage Applications via Containers running on Pods. It also provides ability to overview the health of the various components and troubleshoot your various components specifications.

The Kubernetes Dashboard UI comes with a vertical menu. Let’s review the main sections in this menu:

Continue reading “Kubernetes Dashboard Deep Dive…”

Kubernetes 101: Get familiar with Kubernetes…

This Kubernetes workshop aims to get you familiar, via experimentation, across the various components that make up the important aspects of Kubernetes, as a platform to host and manage the life-cycle of Microservices.

Kubernetes is an open-source platform for automating deployment, scaling, and operations of application containers across clusters of hosts, providing container-centric infrastructure

Kubernetes provides a container-centric management environnement. It orchestrates computing, networking, and storage infrastructure on behalf of user workloads. This provides much of the simplicity of Platform as a Service (PaaS) with the flexibility of Infrastructure as a Service (IaaS), and enables portability across infrastructure providers.

Continue reading “Kubernetes 101: Get familiar with Kubernetes…”

This is How Easy it is to setup Docker on Oracle Compute Cloud Service

I’m running up some environments for the Developer Experience workshop. And looking to use docker to host some of the environments. Here’s a quick snapshot for getting yourself up and running.

LET’S GET AN ORACLE COMPUTE INSTANCE PROVISIONED

So, after you have got your environment from https://cloud.oracle.com/tryit and you have logged into the Oracle Compute Cloud Service, you’ll find yourself here at the landing page. From here we’ll create our compute instance.

  • Click on the Create Instance button.

  • Select an OL image. There are some basic requirements for docker. You will need to select an image with UEKR4. I selected OL_6.8_UEKR4_x86_64. Once you have selected it, then click on the arrow. NB: Don’t click on Review And Create, this will take you the end with the default. We DON’T want that yet.

  • Select the compute size that you want. Depending on the number of containers and the performance you want, select the type that is most appropriate. Once you have selected it, then click on the arrow.

  • Enter is the name and label of the compute instance. Also add the public key for your SSH key which will be used so you can SSH into the instance. Once you have entered the details, then click on the arrow.

  • You now have the option to update the network configuration. Create a new security list which will be the default network access.

  • Now it’s time to configure the storage. The default storage is typically not enough. What I’ve done here is to replace the existing storage with a volume that is better to host the images.

  • Create a new Storage Volume with sufficient disk. NB: Make sure you configure the storage as your boot drive and the first attached drive. I would also suggest that you select the storage/protocol/iscsi storage property for the disk. Once you have entered the details, then click on the arrow.


  • Review the details and then click Create.

  • After that has been done, then a set of orchestrations will be created and run. After a little while, the instance will be operation.

  • If you go back to the Instances tab, then you will see your newly provisioned IaaS compute instance.

LET’S GET DOCKER PROVISIONED

The docker installation process is pretty easy. There’s great documentation on the docker site. Refer to https://docs.docker.com/engine/installation/linux/oracle. Most of the information that you need is there.

Here’s a couple of the main steps to the installation process.

  • Update the yum repository configuration to include the docker repository. NB: Choose the right OL6 or OL7 repository.

  • After the installation, run up the hello-world docker image. This will also make sure you can access the docker registry which is a great place to get pre-defined available images.

  • Create a new user (which is not opc or root) to run docker. I’ve added an oracle user and provided the user the privileges to manage docker. And as you can see I’m know running docker as the oracle user.

And here you are, docker installed. There are some other things that you might want to consider.

  • Later on, one of the typical things that you do is modify the network security so you can access what the docker instance is hosting like WebLogic Server.
  • Import and create your docker images.
  • Run up a swarm of docker instances.

What you’ve got here is similar to Oracle Container Cloud Service. However, if you are invested in docker and want the full control over the swarm, management and the underlying images, then this may be your preferred method.