// Tutorial //

How To Compile Ricotta Cheese From Source

Published on April 1, 2018
How To Compile Ricotta Cheese From Source


Ricotta cheese is a soft, creamy, slightly-sweet Italian cheese with a very fine curd. It is quite versatile and can be found in both savory dishes such as lasagne, and sweet desserts such as cannoli.

Though Ricotta cheese is traditionally compiled from the whey left over from traditional cheesemaking, hobbyist fromagineers can create an adequate simulation using whole milk and a variety of household acids.

In this tutorial we will coagulate milk proteins by manipulating the temperature and acidity of cow’s milk, then compile and containerize the resulting curd.


Before getting started, you will need to prepare your development environment. Gather the following prerequisite ingredients, which should be available in most well-stocked food repositories:

  • 8 cups (~2 liters) whole milk
  • 1 cup (~300 milliliters) heavy cream
  • 3 tablespoons white vinegar OR lemon juice
  • 1/2 teaspoon salt

You will also need the following hardware:

  • a spoon
  • a strainer or sieve
  • cheese cloth
  • a bowl
  • a non-reactive pot (avoid aluminum or copper)
  • energy (a hotplate or stove will suffice)

Step 1 — Prepare the Curd Sieve

Prepare your straining apparatus before proceeding. First, line the strainer with cheesecloth. If your cheesecloth is loosely woven (as is often the case with grocery store cheesecloth), you should use multiple layers to ensure the filter does not let any errant curds slip through.

Set the lined strainer in a bowl that’s large enough to hold all of our liquid.

Note: You may use the excess whey to make bread and soft drinks, or to feed pigs and other useful omnivores.

Next, we will combine our ingredients and apply heat.

Step 2 — Combine Ingredients and Energize

In your pot, combine milk, cream, and salt.

Put the pot on your heat source and add energy until the mixture boils, stirring periodically to prevent scorching.

Add the vinegar or lemon juice to the boiling mixture, then lower heat to a simmer, continuing to stir occasionally. The milk and cream will start to curdle quite quickly, and in two or three minutes the process will be complete. You should now have a pot full of small white curds floating in a yellowy-green whey. You may now proceed to the next step, where we will filter the curds from the whey.

Step 3 — Filter Curds

Empty the pot into the lined strainer. The white curds will be caught in our filter, while the liquid whey will end up in the bowl beneath. Let the curds drain for at least an hour.

When your Ricotta is done draining, it is ready to eat! Try it with a little olive oil, salt, and pepper, or some sweet or savory jams. You may store the cheese by transferring it to a sealed container, and refrigerating for up to two days.


In this tutorial we built and containerized Ricotta cheese. You should now be ready to deploy this versatile product into appetizer, main dish, or dessert environments.

Thanks for learning with the DigitalOcean Community. Check out our offerings for compute, storage, networking, and managed databases.

Learn more about us

About the authors

Still looking for an answer?

Ask a questionSearch for more help

Was this helpful?
Leave a comment

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

card icon
Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Sign up
card icon
Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We’d like to help.

Learn more
card icon
Become a contributor

You get paid; we donate to tech nonprofits.

Learn more
Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow – whether you’re running one virtual machine or ten thousand.

Learn more ->
DigitalOcean Cloud Control Panel
Get started for free

Enter your email to get $200 in credit for your first 60 days with DigitalOcean.

New accounts only. By submitting your email you agree to our Privacy Policy.

© 2023 DigitalOcean, LLC.