
Bookmark the course GitHub repository for source code and the getting started guide, and install Java and Eclipse with Embedded Maven to prepare Spring and React prerequisites.
Learn how Pivotal Cloud Foundry accelerates cloud adoption by deploying apps to AWS, Azure, or GCP via CloudFoundry, hiding deployment details while you focus on needed services.
Create a free PCF account, understand the signup and activation flow, and learn orgs and spaces—how to structure environments like development, staging, and production for microservices.
Install and verify the cf CLI (Cloud Foundry CLI) to manage apps, services, and routes from the command line, with guidance for Mac, Windows, Linux, and brew installation.
Clone the GitHub repository or download and unzip the ZIP, then import seven Maven projects 01–07 into Eclipse as existing Maven projects; consult the Troubleshooting guide if import issues arise.
Build a simple Spring Boot REST API with hello world endpoints, run locally on port 8080, and test hello-world, hello-world-bean, and path-variable names, preparing for deployment to PCF.
Deploy a hello world rest api to PCF using cf cli, login, target org and space, push a jar with the Java buildpack, and verify via logs.
Use the Cloud Foundry CLI to list apps and routes, map additional routes to hello-world-rest-api, view spaces and orgs, and start, stop, or restart the app.
Learn to create an application manifest for a spring boot app, configure the path to the hello-world-rest-api.jar, and deploy with cf push in cloud foundry.
Learn how cf push uploads a package, stages a droplet with the Java build pack, and deploys it to a Cloud Foundry cell.
Enhance PCF workflows by declaring the java-buildpack in manifest to streamline staging, skip other build packs, and extend startup timeout to 120 seconds for reliable boot.
Deploy a spring boot todo web app as a war, run locally on port 8080, with h2 in-memory data and basic todo CRUD secured by spring security.
Deploy a spring boot todo web app to pcf with a manifest and war, push via java build pack, and prepare to connect to a real database next.
Switch the todo web app from h2 to mysql by adding mysql-connector-java and updating pom.xml. Configure properties for mysql and enable data retention with ddl-auto update, mapping desc to description.
Learn to run a MySQL server locally with Docker using the official mysql:5.7 image, configure root password, database, user, and publish port 3306.
Connect a Spring Boot web app to a local Dockerized MySQL, verify table creation and data persistence via the web UI, and set up cloud deployment in the next step.
Explore the run.pivotal.io UI to add a ClearDB MySQL service on the free spark plan, bind it to the todo-web-application-h2, and create a todo-database instance on PCF.
Deploy a spring boot web app on pcf and bind it to the todo-database service, using manifest.yml and cf push to enable cloud mysql access.
See how Spring auto reconfiguration in Cloud Foundry binds bound services to your app, creating a data source for the database with optional manual configuration via service connectors.
Deploy and secure a full-stack Spring Boot and React app by using a RESTful API backed by an H2 database, protected with Spring Security and JWT tokens.
Connect the React frontend to the backend locally by setting up Visual Studio Code, installing dependencies with npm, and running the app on port 4200 with localhost:8080 for API calls.
Deploy the rest-api-full-stack backend to pcf via cf push from a manifest, connect the local frontend to the cloud backend, and use an in-memory database.
Deploy a React frontend to pcf by building a production package, creating a manifest, and pushing frontend and backend as separate apps with the staticfile-buildpack and jwt-based login.
Explore the PCF UI to view app summaries, running processes, and instances; inspect metrics, logs, routes, and environment variables; manage services, revisions, and auto-scaling for Spring Boot apps.
Explore microservices as REST-exposed, small deployable units with well-defined boundaries. Learn how cloud-enabled design supports independent deployment and easy scaling through multiple service instances.
Explore the five core challenges of microservices architectures—bounded context, configuration management, dynamic scaling and load balancing, visibility and monitoring, and fault-tolerance to prevent cascading failures.
Adopt microservice architectures to easily embrace new technology and processes, with services built in different languages, while enabling dynamic cloud scaling and faster feature releases.
This lecture introduces two simple Spring Boot microservices—the currency exchange service and the currency conversion service—demonstrating their interaction via a Feign client, REST controllers, and a shared exchange value repository.
Push and deploy currency-exchange-service and currency-conversion-service to pcf, configure manifests, adjust memory to 512m, and set java opts for optimized runtime.
Configure the currency exchange URI as an environment variable for the currency conversion service, restart to apply changes, and verify inter-service communication, including instance details from /manage/env in Cloud Foundry.
Scale currency exchange and currency conversion services with cf scale to run multiple instances. Cloud Foundry automatically load balances requests across instances via the external load balancer and GoRouter.
Learn how to trace a request across multiple microservices using PCF metrics and Trace Explorer, enabled by Spring Boot Sleuth to attach a unique ID to each request.
Explore why service registries matter in microservices and how the Eureka naming server tracks currency exchange service instances for dynamic discovery.
Register the currency exchange service with Eureka by enabling discovery client, adding the spring cloud services starter service registry dependency, and setting the eureka url.
Register currency calculation and exchange services with the Eureka naming server, enable discovery client, remove hard-coded urls, and enable inter-service calls via Eureka for dynamic routing.
Deploy and configure a Cloud Foundry service registry, bind a naming server to currency calculation, currency exchange, and conversion services, and verify discovery via Eureka.
Enable autoscaling for microservices on Pivotal Cloud Foundry using the App Autoscaler CLI, configure min and max instances, and set rules based on HTTP throughput to scale currency exchange service.
Disable autoscaling for currency-exchange-service and set its instances to one using cf scale. List autoscaled apps with cf autoscaling-apps and verify running currency-exchange-service and currency-conversion-service.
Explore how route services in PCF act as api gateways by intercepting and logging requests, then forwarding to microservices via the x_cf_forwarded_url_header header.
Bind a route service to applications with cf bind-route-service, mapping currency-exchange-service-ranga-101.cfapps.io to the spring-boot-route-service, intercepting and logging requests for currency-exchange-service and currency-conversion-service.
Unbind and stop the spring boot route service on PCF, using cf routes and unbind-route-service, to ensure currency exchange and conversion services run without route service interference.
Discover how PCF eliminates undifferentiated heavy lifting by provisioning resources, managing containers, and enabling autoscaling and log aggregation, while BOSH uses cloud provider interfaces to deploy across AWS and Azure.
LEGACY WARNING! PCF is now called Tanzi. PWS is no longer available. You would need to install PCF Dev on Your Local Machine to play with PCF.
Learn Pivotal Cloud Foundry Fundamentals? Yes. Deploy REST API to Pivotal Cloud Foundry? Yes. Deploy Microservices to Pivotal Cloud Foundry? Yes. Of Course. Hands-on? Of course.
Do you have ZERO experience with Pivotal Cloud Foundry (PCF)? No Problem.
Do you want to learn to Deploy Java Spring Boot Applications and Microservices to Pivotal Cloud Foundry (PCF) with an easy to learn, step by step approach?
Are you ready to learn about the cloud with Pivotal Cloud Foundry (PCF) and take the next step in your programming career?
Do you want to join 500,000+ learners having Amazing Learning Experiences with in28Minutes?
Look No Further!
COURSE OVERVIEW
How about learning PCF (Pivotal Cloud Foundry) deploying Spring Applications to Cloud using Pivotal Cloud Foundry?
Pivotal Cloud Foundry (PCF) provides a great cloud-native platform to deploy Spring Boot Applications.
Spring Boot is the No 1 Java Framework to develop REST API and Microservices.
In this course, we deploy a variety of Spring Boot Applications to the Cloud:
REST APIs - Hello World and Todo - Jar
Todo Web Application War
Full Stack Application with React and Spring Boot
CCS and CES Microservices
Route Services
This course would be a perfect first step as an introduction to PCF and the Cloud.
You will be using deploying a variety of projects to Pivotal Cloud Foundry (PCF). These projects are created with React (Frontend Framework), Spring Boot (REST API Framework), Spring (Dependency Management), Spring Security (Authentication and Authorization - Basic and JWT), BootStrap (Styling Pages), Maven (dependencies management), Node (npm), Visual Studio Code (TypeScript IDE), Eclipse (Java IDE) and Tomcat Embedded Web Server. We will help you set up each one of these.
Start Learning Now. Hit the Enroll Button!
COURSE HIGHLIGHTS
Introduction to the Course - Pivotal Cloud Foundry
00 Step 01 - Deploy Spring Boot Applications to Pivotal Cloud Foundry - Course Overview
00 Step 02 - Deploy Spring Boot Applications to Pivotal Cloud Foundry - Getting Started
Getting Started with PCF - Pivotal Cloud Foundry
Deploy Java Spring Boot Hello World Rest API to PCF
Deploy Java Spring Boot Todo Web Application WAR to Pivotal Cloud Foundry
Deploy Java Spring Boot Todo Web Application with MySQL to Pivotal Cloud Foundry
Deploy Java Spring Boot React Full Stack Application to Pivotal Cloud Foundry
Getting started with CCS and CES Microservices on PCF
Using Service Registry for Spring Boot Microservices on Pivotal Cloud Foundry
Exploring Auto Scaling on Pivotal Cloud Foundry
Using Route Services with PCF and Spring Boot
Setting up Centralized Configuration
Exploring More Features on PCF
Start Learning Now. Hit the Enroll Button!