[MUSIC PLAYING]
CHLOE CONDON: Building and running
an e-commerce application enables
you to support your users to buy and sell
your products or services.
Depending on your needs, you may keep track of inventory,
manage product descriptions or prices,
enable wishlists and other functionalities
along with monitoring your app's performance.
These areas take time and focus when
building an e-commerce app.
Add infrastructure considerations
and it can feel like there is a lot to manage for your app
to run smoothly.
Luckily, there is a Jump Start Solution
that helps you understand how to focus on your specific needs
and the decisions you need to make for your business
without having to manage all the infrastructure.
You can deploy an e-commerce web app on Cloud Run in minutes
and learn how to manage all these aforementioned things
in Google Cloud before launching your full production
environment.
With the development and operation
of your e-commerce app, you're likely thinking,
how do I update characteristics about my inventory,
like a price or description change,
without taking down my website?
How do I add functionality to my e-commerce site
without disrupting my business?
Can I collect metrics about my app
so I know when my services are functioning
or find out when something is going wrong and fix it?
Is my infrastructure set up correctly?
Can I trust that it will support my application
so my business can flourish?
When launching an e-commerce application,
there are a lot of moving parts with different services
to implement and manage.
Additionally, you have the complexity
of managing the underlying infrastructure and making sure
that it can scale up or scale down as needed.
This takes time away from the most important task--
focusing on your app and business.
As Google Cloud developers, we know
that your e-commerce site is the lifeblood of your business.
We hear your questions and concerns
and ask ourselves the same ones.
So we developed this solution to help
you build the right knowledge about your application.
That way, you know when something is wrong,
how to resolve those problems, and focus on what
you need when you need it.
We want you to be able to focus on your business needs
while Google Cloud takes care of the underlying infrastructure.
Cue our e-commerce web app on Cloud Run Jump Start Solution.
The Jump Start Solution allows you to deploy an e-commerce app
with all the necessary resources required automatically created
and configured by Google Cloud.
Plus the management of that infrastructure
is handled by us, giving you peace of mind and time
to focus on everything else.
With this solution, there are three key areas of focus
you'll learn about.
One-- built to expand.
With composable e-commerce functionalities,
much like an ever-growing puzzle,
you can start with the functionalities that you need,
like a product catalog, and then implement
additional functionality as your business grows, like a shopping
cart feature.
Two-- a decoupled architecture.
It gives a view of how multiple Cloud products work together
while keeping the core application to two moving
parts, making it easier to scale and make changes
without disrupting your business.
Three-- data-driven insights.
Using logs, trace, and error reporting,
you'll learn how to collect insights that help you fully
understand how your business is running
and manage any problems that arise.
Deploying the solution takes a matter of minutes
and provides access to a front-end UI
and back-end experience for a sample e-commerce product
website.
Once deployed, you can access the web app like a user
and click on products, add them to a cart, and make a purchase.
Then you can explore the app as an administrator,
modify the list of products or customize prices,
and see the changes reflected in the front end.
Or you can explore the deployment,
which consists of multiple primary services that
have been integrated into a single application.
You can review successful purchases and errors,
which we'll talk about more in a second,
modify the source code for a back-end service,
and redeploy the back-end service as needed.
Let's touch on those successful purchases and errors.
This is where you begin to see the inner workings
of the solution.
Each time a purchase is attempted,
whether successful or not, it's logged in the Google Cloud
Console, in Cloud Logging and Error Reporting,
in the form of two errors or a success condition.
These conditions were intentionally
created to facilitate the process of learning
how you can use the included Google Cloud
products to analyze your data by tracking user
actions that matter, collecting insights and dealing
with errors as needed.
Think of this as the big dress rehearsal before the show.
You can practice and see how everything
works before opening day.
Have a new feature you want to implement
but aren't sure how it's going to work?
Great.
Test it out here first, and see what
metrics you can collect to determine
if you want to move forward with deploying it in your app
or forget you ever had the idea.
Once the solution is deployed, the architecture
includes the following components.
The client front end is hosted on Firebase
and uses [? Lift ?] and web components
for client-side rendering of API data.
The web client calls an API back end
that is running as a Cloud Run service
using the Django REST framework written in Python.
Cloud Run automatically scales your infrastructure up
and down as needed.
The configuration and other secrets
for the Python application are stored in Secret Manager.
Static assets for the application and container
images are stored in Cloud Storage.
And Cloud SQL for Postgres is the database
for the Python application.
Cloud Logging stores logs, Cloud Trace stores open
telemetry traces, and Error Reporting stores error reports,
all sent by other Cloud products and the Cloud Run platform.
This data is what enables monitoring
for the correct application behavior
and troubleshooting of unexpected behavior.
The decoupled architecture as designed
here is what allows edits to be made
to the front-end store with minimal disruptions
to your business.
This allows you to separate user experience, business logic,
and business operations into separate organizational
concerns.
To dig deeper into the solution, explore the application
using our learning resources.
The Solution Guide is a helpful resource
to further customize the solution
if you want more information on deploying the app
or if you run into any issues.
For additional hands-on learning,
you can check out our interactive tutorials,
which allow you to explore and analyze
app usage with Cloud Logging and Cloud Trace
to monitor user requests and spot errors
and explore the back end of the solution to make changes.
It's important to note that this Jump Start Solution is
a great way to explore the capabilities of building
an e-commerce app on Cloud Run, but isn't
intended to be used as-is for production environments.
So now you know.
This Jump Start Solution helps you
learn how to build an e-commerce web
app on Cloud Run with fully-managed infrastructure
that allows you to focus on your business.
Check the description for a few very useful links
to try out this Jump Start Solution for yourself today.
[MUSIC PLAYING]