OneCompiler

1. Spring Cloud Fundamentals

206

In this post, I am going to explain about spring cloud basics.

What is the cloud?

Cloud is not a physical object, it shares resources, software and information via the network. Information stored on physical servers maintained and controlled by cloud providers like AWS, Azure, GCP.

Advantages with Cloud

  1. Easily move existing applications to the cloud
  2. All time (24/7) availability
  3. Cost based on usage of resources
  4. Security
  5. Auto-scaling the application
  6. Easy manageable

Microservices

Microservices is an architectural pattern, that says an application is a collection of services (mini-applications) that are easily maintainable, testable, deployable with loosely coupled nature.

Challenges faced with Microservices

  1. Managing microservices
  2. Control microservices
  3. Services discovery
  4. Configuration maintainability
  5. Monitoring
  6. Security to each service

Why Spring cloud

  1. When we moving our application to the cloud, we will face the above challenges. To overcome the above challenges we need to use the spring cloud framework.
  2. Spring cloud provides tools for developers to build and deploy an application in a cloud.
  3. It helps to build Cloud Native applications.

What is Cloud Native

a software application that is specifically built for cloud computing. It uses cloud resources.

Spring cloud features

  1. Distributed configuration
  2. Service lookup and registry
  3. Routing
  4. Service to Service calls
  5. Load balancing
  6. Cluster election
  7. Distributed messaging

What we are going to learn

  1. Spring cloud configuration
  2. Spring cloud Netflix
  3. Spring cloud bus
  4. Spring cloud cluster
  5. Spring cloud zookeeper
  6. Spring cloud AWS
  7. Spring cloud security
  8. Spring cloud gateway
  9. Spring cloud functions
  10. Spring cloud connectors

Prerequisite to learn Spring Cloud

  1. Java 8
  2. Spring Boot
  3. Microservices or SOA
  4. Maven
  5. Cloud (Not much mandatory, will dive on when it needed)