{"id":484,"date":"2020-03-06T06:04:34","date_gmt":"2020-03-06T14:04:34","guid":{"rendered":"http:\/\/devblogs.microsoft.com\/cosmosdb\/?p=484"},"modified":"2020-04-20T11:40:40","modified_gmt":"2020-04-20T18:40:40","slug":"build-apps-for-free-with-azure-cosmos-db-free-tier","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/cosmosdb\/build-apps-for-free-with-azure-cosmos-db-free-tier\/","title":{"rendered":"Build apps for free with Azure Cosmos DB Free Tier"},"content":{"rendered":"<p><em>This blog post was co-authored by Nikisha Reyes-Grange, Senior Product Marketing Manager, Azure Marketing.<\/em><\/p>\n<h2>Introducing Azure Cosmos DB Free Tier<\/h2>\n<p>Looking to build a new app, develop and test, or run small production workloads with <a href=\"https:\/\/azure.microsoft.com\/services\/cosmos-db\/\">Azure Cosmos DB<\/a>? Our new Free Tier makes it easy to get started with no cost and save money as you build and grow new apps.<\/p>\n<p>With Azure Cosmos DB Free Tier enabled, you\u2019ll get the first 400 RU\/s throughput and 5 GB storage in your account for free each month, for the lifetime of the account. That means that you can start small and grow with confidence, knowing your app will be running on a high-performance database service. You\u2019ll only pay if your account exceeds 400 RU\/s and 5 GB. Additionally, if your app has a lot of containers you can create up to 25 containers in a shared throughput database and have them all share the free 400 RU\/s. You can have up to one free tier Azure Cosmos DB account per Azure subscription.<\/p>\n<p><strong>TIP<\/strong>: If you have multiple regions, the 400 RU\/s and 5 GB discount apply to just the first region, so if you want to keep your account entirely free, stick to 400 RU\/s and 5 GB in a single region.<\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"http:\/\/devblogs.microsoft.com\/cosmosdb\/wp-content\/uploads\/sites\/52\/2020\/03\/create-account-screenshot-3.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-488\" src=\"http:\/\/devblogs.microsoft.com\/cosmosdb\/wp-content\/uploads\/sites\/52\/2020\/03\/create-account-screenshot-3.png\" alt=\"Enable free tier discount when creating a new Azure Cosmos DB account in the Portal\" width=\"1122\" height=\"809\" srcset=\"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-content\/uploads\/sites\/52\/2020\/03\/create-account-screenshot-3.png 1122w, https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-content\/uploads\/sites\/52\/2020\/03\/create-account-screenshot-3-300x216.png 300w, https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-content\/uploads\/sites\/52\/2020\/03\/create-account-screenshot-3-1024x738.png 1024w, https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-content\/uploads\/sites\/52\/2020\/03\/create-account-screenshot-3-768x554.png 768w\" sizes=\"(max-width: 1122px) 100vw, 1122px\" \/><\/a><\/p>\n<h2>What can you build with free tier?<\/h2>\n<p>We asked members of our developer community for examples of apps with 400 RU\/s and 5 GB of storage, and got lots of great examples of apps they\u2019ve built: an Alexa app to help commuters use public transportation, and a web app to easily <a href=\"http:\/\/www.theurlist.com\/\">manage and share lists of online resources<\/a>. We\u2019ll be highlighting some of these developers and their apps in the coming weeks and months.<\/p>\n<p>Have an app running on less than 400 RU\/s throughput and 5 GBs storage? <a href=\"https:\/\/forms.office.com\/Pages\/ResponsePage.aspx?id=v4j5cvGGr0GRqy180BHbR_Lrg0nxRBtErN-GyphxUs9UNzVQUDNFWTAwUzBPUTUwTTZPSkNQQUo4Qi4u\">Tell us about it<\/a> \u2013 we\u2019d love to feature you.<\/p>\n<h2>Get started<\/h2>\n<p><a href=\"https:\/\/aka.ms\/create-cosmos-account\">Create a new Azure Cosmos DB account<\/a> and activate <a href=\"https:\/\/aka.ms\/cosmos-free-tier\">free tier<\/a> during account creation. There is a limit of one free tier account per Azure subscription. Check out our <a href=\"https:\/\/docs.microsoft.com\/azure\/cosmos-db\/\">quickstarts and tutorials<\/a> or try out a <a href=\"https:\/\/docs.microsoft.com\/azure\/cosmos-db\/create-notebook-visualize-data\">sample notebook<\/a> to see what you can do with Azure Cosmos DB.<\/p>\n<p>See the <a href=\"https:\/\/azure.microsoft.com\/pricing\/details\/cosmos-db\">Azure Cosmos DB pricing page<\/a> for more details.<\/p>\n<h2>Frequently asked questions (FAQ)<\/h2>\n<p><strong>Q: Didn\u2019t you already offer free options? What\u2019s new?<\/strong><\/p>\n<p>A: We have always offered ways to try Azure Cosmos DB for free \u2013 as part of <a href=\"https:\/\/azure.microsoft.com\/free\/\">Azure Free Account<\/a>, with a <a href=\"https:\/\/docs.microsoft.com\/azure\/cosmos-db\/local-emulator\">local emulator<\/a>, and as a <a href=\"https:\/\/azure.microsoft.com\/try\/cosmosdb\/\">30-day free trial<\/a> \u2013 but those options have been limited in availability and scope. Free Tier is available in perpetuity (maximum of one account per subscription).<\/p>\n<p><strong>Q: How does the Free Tier discount show up on my bill?<\/strong><\/p>\n<p>A: In Free Tier accounts, you\u2019ll get the first 400 RU\/s and 5 GB of storage in your account for free. Any RU\/s and storage beyond 400 RU\/s and 5 GB will be billed at the regular pricing rates per the pricing page. On the bill, you will not see a charge or line item for the free 400 Ru\/s and 5 GB, only the RU\/s and storage beyond what is covered by free tier.<\/p>\n<p><strong>Q: Can Free Tier apply to all the Azure Cosmos DB APIs?<\/strong><\/p>\n<p>Yes, Free Tier works for all Azure Cosmos DB APIs &#8211; including Core (SQL), API for MongoDB, Cassandra, and Gremlin.<\/p>\n<p><strong>Q: Can I apply the Free Tier discount to <a href=\"https:\/\/docs.microsoft.com\/azure\/cosmos-db\/provision-throughput-autopilot\">autopilot<\/a> databases and containers?<\/strong><\/p>\n<p>A: Yes. With autopilot, you\u2019re billed for the highest RU\/s the database or container scales to in the hour. When the free tier discount is applied, 400 RU\/s will be subtracted from that value. See our <a href=\"https:\/\/docs.microsoft.com\/azure\/cosmos-db\/understand-your-bill#billing-examples-with-free-tier-accounts\">documentation<\/a> for examples and details.<\/p>\n<p><strong>Q: How does Free Tier discount work if I have an account with multiple regions?<\/strong><\/p>\n<p>A: In multi-region accounts, the RU\/s of the database or container is replicated in all regions. For example, if you have a container with 400 RU\/s and the account is in 3 regions, the total RU\/s of the account is 1200 RU\/s. When the discount is applied, you will be billed for 1200 RU\/s \u2013 400 RU\/s = 800 RU\/s per hour. See our <a href=\"https:\/\/docs.microsoft.com\/azure\/cosmos-db\/understand-your-bill#billing-examples-with-free-tier-accounts\">documentation<\/a> for examples and details.<\/p>\n<p><strong>Q: I already have an account and want to move my data into a Free Tier account. How do I do this?<\/strong><\/p>\n<p>A: Once your new account is created and activated with Free Tier, moving existing data into your new account is simple. The <a href=\"https:\/\/docs.microsoft.com\/en-us\/azure\/cosmos-db\/import-data\">Data Migration Tool<\/a> can be used to migrate smaller datasets if you are using our Core (SQL) API. You can also migrate your data with Azure Data Factory <a href=\"https:\/\/docs.microsoft.com\/en-us\/azure\/data-factory\/connector-azure-cosmos-db\">connectors for the Azure Cosmos DB Core (SQL) API<\/a> and Azure Cosmos DB <a href=\"https:\/\/docs.microsoft.com\/azure\/data-factory\/connector-azure-cosmos-db-mongodb-api\">API for MongoDB<\/a>.<\/p>\n<p><strong>Q: The option to enable Free Tier when creating a new account in the Azure Portal isn&#8217;t appearing. Where is the option?<\/strong><\/p>\n<p>A: You can have up to one Free Tier account in an Azure subscription. If the option doesn&#8217;t appear, this means another account in the subscription is already enabled with Free Tier.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>With the new Azure Cosmos DB Free Tier, you\u2019ll get the first 400 RU\/s throughput and 5 GB storage in your account for free each month, for the lifetime of the account. That means that you can start small and grow with confidence, knowing your app will be running on a high-performance database service.<\/p>\n","protected":false},"author":592,"featured_media":61,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[12,13],"tags":[],"class_list":["post-484","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-announcements","category-news"],"acf":[],"blog_post_summary":"<p>With the new Azure Cosmos DB Free Tier, you\u2019ll get the first 400 RU\/s throughput and 5 GB storage in your account for free each month, for the lifetime of the account. That means that you can start small and grow with confidence, knowing your app will be running on a high-performance database service.<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-json\/wp\/v2\/posts\/484","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-json\/wp\/v2\/users\/592"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-json\/wp\/v2\/comments?post=484"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-json\/wp\/v2\/posts\/484\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-json\/wp\/v2\/media\/61"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-json\/wp\/v2\/media?parent=484"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-json\/wp\/v2\/categories?post=484"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-json\/wp\/v2\/tags?post=484"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}