{"id":198,"date":"2021-10-27T08:12:40","date_gmt":"2021-10-27T08:12:40","guid":{"rendered":"http:\/\/18.141.20.153\/?p=198"},"modified":"2023-05-08T11:27:27","modified_gmt":"2023-05-08T11:27:27","slug":"how-to-set-up-a-document-database-with-amazon-documentdb-with-mongodb-compatibility-and-aws-cloud9-in-a-private-vpc","status":"publish","type":"post","link":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-set-up-a-document-database-with-amazon-documentdb-with-mongodb-compatibility-and-aws-cloud9-in-a-private-vpc\/","title":{"rendered":"How to set up a Document Database with Amazon DocumentDB (with MongoDB compatibility) and AWS Cloud9 in a private VPC?"},"content":{"rendered":"<span class=\"rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\">Reading Time: <\/span> <span class=\"rt-time\">11<\/span> <span class=\"rt-label rt-postfix\">minutes<\/span><\/span>\n<p><img src=\"https:\/\/lh4.googleusercontent.com\/JssXqH8xrELoBIeRQ1A0pCAH4orOruvE0nBEKR6vS_cbad1a06na97FagTmeLEFxUo_pDuSac47lkraQoMnF0C6SLHwe4B3UPaDIfWP15wAjBSoCR4vKpc_gU5McgX7FnFhF3SPxebQyaKu0VIyCOg\" style=\"width: 1600px;\"><\/p>\n\n\n\n<p class=\"has-text-align-justify\">Are you utterly exhausted from thinking about your storage of data? You can get a fast, scalable, highly available, and fully managed document database service that supports MongoDB workloads and makes it easy to store, query, and index JSON data with Amazon DocumentDB (with MongoDB compatibility). In this blog, we will see how to get started with Amazon DocumentDB using AWS Cloud9. We will explore how to connect to the Amazon DocumentDB cluster from the AWS Cloud9 environment with a Mongo shell and run a few queries. We will see how to create an environment, create a security group, create an Amazon DocumentDB cluster, install the Mongo shell, connect to the Amazon DocumentDB cluster, and then finally test the execution via inserting and querying data. To avoid unnecessary add-on costs, we will even go through a process of deleting resources.<\/p>\n\n\n\n<h2>What is Amazon DocumentDB?<\/h2>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh5.googleusercontent.com\/Ceki9TpX8QOdhW_a88SzNp2IdT9HpOo-zbDCO0QcYO7ST0y0wPQka9dW_L34tWSB9UR3ocvsBGVc3ssg74akZH43e9ekjx3RuOlNS1wdY3gQGO6Tkd1wqGyXeQT77dIfvn5bEPmdh61b-GIGku1nQw\" alt=\"Amazon DocumentDB\"\/><\/figure>\n\n\n\n<p class=\"has-text-align-justify\"><a href=\"https:\/\/www.workfall.com\/learning\/blog\/how-to-manage-backups-for-amazon-documentdb-cluster-with-mongodb-compatibility-using-aws-backup\/\">Amazon DocumentDB<\/a> is a non-relational database service designed from the ground up to give you the performance, scalability, and availability you need when operating mission-critical MongoDB workloads at scale. Amazon DocumentDB is a document database that makes it simple to store, query, and index JSON data.<\/p>\n\n\n\n<p class=\"has-text-align-justify\">In Amazon DocumentDB, storage scales automatically up to 64TiB without any impact on your application. It supports millions of requests per second with up to 15 low latency read replicas in minutes, without any application downtime, regardless of the size of your data. Regardless of the quantity of your data, it enables millions of requests per second with up to 15 low-latency read replicas in minutes, with no application downtime. If you want to know more about AWS DocumentDB, you can also refer to our blog <a href=\"https:\/\/medium.com\/workfall\/how-to-store-query-and-index-json-data-using-aws-documentdb-4bd9891eb217?source=friends_link&amp;sk=076e91a9cae66b3d576aaea61b2aad85\">How to store, query, and index JSON data using AWS DocumentDB.<\/a> How to use AWS DocumentDB to store, query, and index JSON data.<\/p>\n\n\n\n<h2>What is AWS Cloud9?<\/h2>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh4.googleusercontent.com\/A7hRpX43N41IIB6CEb4j1glb1UkKKR1izSAQCdLQzPwRwY4IUhCbrsAOTqujQswuWMPxB5wUE6IlHSZV8jdX0kXHqA-zOdj_i6ULJZQzDdZGg-MbUlq0RyEFzzA44tdNZWPd1BUys82-QNOI5KUBxw\" alt=\"AWS Cloud9\"\/><\/figure>\n\n\n\n<p class=\"has-text-align-justify\">AWS Cloud9 is an integrated development environment. With support for numerous programming languages, runtime debuggers, and a built-in terminal, the AWS Cloud9 IDE provides a robust code-editing experience. It&#8217;s a set of tools for writing, building, running, testing, and debugging software, as well as for releasing it to the cloud. You can customize the IDE to your liking. Color themes can be changed, shortcut keys can be assigned, programming language-specific syntax coloring and code formatting can be enabled, and so on.<\/p>\n\n\n\n<h2>Hands-on<\/h2>\n\n\n\n<p class=\"has-text-align-justify\">In this blog, we will see how to make use of an environment in AWS Cloud9 to set up a Document Database with Amazon DocumentDB (with MongoDB compatibility) in a private VPC. We will first explore the AWS Cloud9 dashboard and see how to create a new environment. We will then create a new Security group adding an inbound rule. Proceeding further, we will explore the Amazon DocumentDB dashboard. Creating a new cluster on the clusters dashboard, we will create a new repository file on the Cloud9 environment. We will then install the Mongo shell for the MongoDB compatibility on the Cloud9 terminal and for the final step, we will install the Amazon DocumentDB Certificate Authority certificate to authenticate the cluster and then connect to the cluster via the Cloud9 environment with the Mongo shell using the connection string. Once the configuration is completed, we will then test multiple queries to confirm its execution. On successful execution, we will then look at the cleansing of resources to avoid unnecessary add-on costs for the resources.<\/p>\n\n\n\n<h1><img src=\"https:\/\/lh6.googleusercontent.com\/y8iN0r6xJjpeTXcXHhCtyeeO6LYQEowpgQw35tyUY6qzBtWpM4JxhaAhhLqD2b_p0TAq4ys86Pb1wAJ4ok5MyzN0pbCNL0N-xaYBkdJE6fdC-TBhGW_nVfaNmH1895xXpcXHKU4ZZlEiWkzAz2ixZw\" style=\"width: 1600px;\"><\/h1>\n\n\n\n<p><strong>To implement this, we will do the following:<\/strong><\/p>\n\n\n\n<ul><li>Login to the AWS account and navigate to the dashboard.<\/li><li>Navigate to the AWS Cloud9 service dashboard.<\/li><li>Explore the features of the AWS Cloud9 service.<\/li><li>Create a new environment following the configuration steps shown in the blog.<\/li><li>Navigate to the Security Groups feature in the Amazon EC2 service dashboard.<\/li><li>Create a new security group adding an inbound rule.<\/li><li>Navigate to the Amazon DocumentDB service dashboard.<\/li><li>Explore the features, pricing and its working details.<\/li><li>Create a new cluster with private VPC configuration and configuring the authentication.<\/li><li>Create a repository file on the Cloud9 environment.<\/li><li>Install mongo shell using the command shown in the following steps.<\/li><li>Install the Amazon DocumentDB Certificate Authority certificate to authenticate your cluster.<\/li><li>Connect to the cluster via Cloud9 environment with the mongo shell using the connection string.<\/li><li>Execute multiple queries to test out the connection.<\/li><li>Run a use case query to test the MongoDB compatibility.<\/li><li>On completion, follow the steps to deletion\/cleansing of resources to avoid add-on costs in case you are just following the steps to test out the service.<\/li><\/ul>\n\n\n\n<p>Login to your AWS account and navigate to the dashboard.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh5.googleusercontent.com\/6G76LMWYt5rNoCv6rXCV6FZS4bDH5Jb86Hn40w74KfYV0_0e_zlBpUV5o3tFC8HJn3EHSPg5EomldVBdGllVFzj1XbmPeF2LdAwJSMoUVFx4gJIOfeifr8uhF5V6Hjj5Q5qXTMHt9wxUeTuZjY-Hcw\" alt=\"How to set up a Document Database with Amazon DocumentDB (with MongoDB compatibility) and AWS Cloud9 in a private VPC?\"\/><\/figure>\n\n\n\n<p>Search for the Cloud9 service and click on it to navigate to the dashboard.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh6.googleusercontent.com\/w0YpFPlpFHmHUBcyaUK8rkT-w2VzF7uV3CGVooddP9BQLWDXMVZA-Q8Nufcm4IF5FxiC9gHLZVwBAStZEv37qHf-rbXH1aHoUT5XCHwKmum2j31p5wr7J_cB4OuTbeBTD-zX3hypROdyoTn5lTZT3Q\" alt=\"\"\/><\/figure>\n\n\n\n<p>You will then be navigated to the Cloud9 service dashboard.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh4.googleusercontent.com\/R_cvE6THrzn5036d8MllGF590KeWzHINQ9pKpvh2t-TxNod4BxfWNI29dqZoYrYxeRJkBJbImqfYi7echwy3c8OEIt7NeFhS-MPLJIhNjxIE0XnMwQwPoqX3L3qYutCGT5ubM0a23L1DWSoPiQZ_Eg\" alt=\"How to set up a Document Database with Amazon DocumentDB (with MongoDB compatibility) and AWS Cloud9 in a private VPC?\"\/><\/figure>\n\n\n\n<p>If you scroll down, you will see the working process and the features and benefits of the AWS Cloud9 service.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh3.googleusercontent.com\/ZBpGQXcW6EcZu228gyIIlFgyiXbUP1TE439YzkqkTD2Fv-2ctEpuBZHPvGgHbqsCPbynIQOfWRn75lilTMWhpjN8zkQFQwTMTCsqMPV7F1oBPywesJyzAXqvEfvdi6uLKN7d9P3HT-nNavg99b0cbw\" alt=\"\"\/><\/figure>\n\n\n\n<p>Navigate to the top of the page and click on Create Environment.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh6.googleusercontent.com\/UGpzs7anSTsUNlvtG7w6IrSRNmbsuU_qIg59Gk4sm8rK7fhS81ms_XpQirrV98egYXLr3GFD9elIdnG9ki-QfMiId1nEYT_atbjsyF0UbfF8rW4IYkD5N-Nvy-eQI4ZvTgb_JLedWB-EnmWfQmtZxw\" alt=\"How to set up a Document Database with Amazon DocumentDB (with MongoDB compatibility) and AWS Cloud9 in a private VPC?\"\/><\/figure>\n\n\n\n<p class=\"has-text-align-justify\">Enter a name for the environment and provide a description as shown in the image below. Once done, click on Next step.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh4.googleusercontent.com\/mWuYK3PsokPxG-qBI2pLWb4HgX2beut_LFQ6hNq_L8Be-vR8oHHDa1fR8qGErOiWO6TfhTGex0caFeRUqcOJWIlLCu-Mbc9mIxx8cUioVB46HC7PuYlCKr_6Vjg20lFA5mjeqGTpGQlGsw11fHfm5A\" alt=\"How to set up a Document Database with Amazon DocumentDB (with MongoDB compatibility) and AWS Cloud9 in a private VPC?\"\/><\/figure>\n\n\n\n<p>For the Environment type and instance type, select the options as shown in the image below.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh4.googleusercontent.com\/Xf16YCcPcS5gzy-4oV54AXEjlDPx_pVG5z0ToA_6IfKE9w3SgitV5atuUV_2pBWioSAAVbmfcmvKI3UUYg8Ee8PzerWfuFvkTKl9jobAgM2Lrt9BWnItaArH7F-1hy_tGA_JFFxIG5jWRUMdFBqEyA\" alt=\"\"\/><\/figure>\n\n\n\n<p>Once done, select the platform as shown in the image below and leave the other settings to the default settings.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh3.googleusercontent.com\/rIPdlIEtvHgpVWlm0sl-wQ7Bh05NVRwBSf-E4N4AOQ0igUsGbDCqEWO1lIChcYZF4niAUAzHRjGyI3NQ7y_O3RvvuTbAMJ8sXPehBPRqKYUINhW8J1MKeMJNrd70XAF9HORyJASy7c2WhkoJveb5uA\" alt=\"How to set up a Document Database with Amazon DocumentDB (with MongoDB compatibility) and AWS Cloud9 in a private VPC?\"\/><\/figure>\n\n\n\n<p>Under network settings, select the VPC needed, add tags (if any) and click on Next step.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh4.googleusercontent.com\/DO5ii5kr9dDIQztdlmUWubwEx6F8DKsziWvsf-4ixrMct6c2FvxRGxAg4scg82G7gGlNVhp2Udba8RkuKGb-vsJghIiOK0ALZylIsjcXn_-9q6h-tSCMIcwIiWyiYkxRtkg76IWlbTKF4tfYBONgKA\" alt=\"How to set up a Document Database with Amazon DocumentDB (with MongoDB compatibility) and AWS Cloud9 in a private VPC?\"\/><\/figure>\n\n\n\n<p>Finally in the last step, review all the settings and scroll to the bottom.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh5.googleusercontent.com\/lUXPF_-Okfav_osCbLNMdhXHqOzravpACITaG4XayjLemfDJXOui43j7ezXv9h8y_bs-WbtszCpXkjyU_aaPea9a1OwWNNSlxyJ_neJKaUkBJLnQCgl26C7CzjRZFkJyb0vzZ4zsvFHgWhIaJK4NGA\" alt=\"\"\/><\/figure>\n\n\n\n<p>Click on Create environment.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh5.googleusercontent.com\/qOBcOwqHrZLJQnAsZ08QXv3nFgYwzFThh_2Mcm9IXIQWiu_e7fnk3vDVLO63on1FY30HOsFFwsDFehoR1wGk-eZe82seYQCv4iUnMp5SGqU-ig25iVAfIaHgVXPTAvQr2VqQp9PUsGpCUJQKAtVQuA\" alt=\"\"\/><\/figure>\n\n\n\n<p>AWS Cloud9 might take a few minutes to configure the environment.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh6.googleusercontent.com\/bWJgnavcVzHvMhfs16IpoKKrxKh-6Rsp_U2UoiEx_gzO9gNL9ynPhnJK_7DU_nXxKBzEuuaYakRuOAR5NRPZiHiVQ0DyiS6uor_340eY8bROzeGX9a1xr7Fwk7C2k_YHeFXJU67CXiBCFWCBUBO3mw\" alt=\"How to set up a Document Database with Amazon DocumentDB (with MongoDB compatibility) and AWS Cloud9 in a private VPC?\"\/><\/figure>\n\n\n\n<p>Meanwhile, in a different tab, search for the EC2 service.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh3.googleusercontent.com\/lagK5KDCv4AgT2Yj1kBe_alzyC91HUJM26OnahXcHunHcFRNDJ0eXNUQhgjL5KcUUmGxxfzHOfomfiU31QlAJRyDvXPnmMkZHdhIN9S9h7xgCh5r7tnQ6zc1Q7IcSEijIjIWWf-0IHy1i7rqG7RBjQ\" alt=\"\"\/><\/figure>\n\n\n\n<p>On the dashboard, in the left navigation pane, select Security Groups.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh3.googleusercontent.com\/qyUne3dhXv9KdxZMdhcApo2_dePgi2Xq9216FGHctWHOEAo93o3w7OtNn_8_GRDKA_ptvzlHrpIYcxwT7xsy6sC5-74Upm1iHQAxLINhcVXTJ9oQhcg5Wz1TvXWarfI_tM-wqcNVSp4t7k_EXQPYhA\" alt=\"How to set up a Document Database with Amazon DocumentDB (with MongoDB compatibility) and AWS Cloud9 in a private VPC?\"\/><\/figure>\n\n\n\n<p>Click on Create security group.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh5.googleusercontent.com\/pxLP1hmSbE8vTFsTW35ZGEqgboxY50-PfHakNNIJvGijgaPGQrU2PjV4K39pfAmAGuVKaRYX4Erj-FL5HDqCkvi9kmDN1lAh27Ly8_qBemolJ8d9sf_OBNCnB8300XcyonI-x8QXiE5-nrzV_YeyGA\" alt=\"How to set up a Document Database with Amazon DocumentDB (with MongoDB compatibility) and AWS Cloud9 in a private VPC?\"\/><\/figure>\n\n\n\n<p>You will be navigated to the Security Group creation dashboard.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh3.googleusercontent.com\/qHOO0iEpS3h1hVYtEn0L_0lczmSCUFD0HUvBb2BcWjBzOnKFUJmavIOqjqNxrpY7mT4DluSNyfD7HerVRAvJDj9KyBwSPeF2S2pISYaL0fLCOKRa7wuKJk3anZOqbcTFMAMJn244BBzghCJRawjEfA\" alt=\"\"\/><\/figure>\n\n\n\n<p class=\"has-text-align-justify\">For Security group name, enter a name of your choice, for Description, enter a description and for VPC, accept the usage of your default VPC.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh4.googleusercontent.com\/cffpkMg8EwGP-Rz8tW634qJOyCWiaB8Sfs2PLnmZuelWB8gE10Q1fYViDWadVGAOAnxeAaAomVdTpNCGoddu5YWBWhJ_vPlTn7kqVWyoaEIzMJe4mIqRJEniO8q4bGuscKLFT_JFDW2f7IQbeE4b6w\" alt=\"How to set up a Document Database with Amazon DocumentDB (with MongoDB compatibility) and AWS Cloud9 in a private VPC?\"\/><\/figure>\n\n\n\n<p class=\"has-text-align-justify\">In the Inbound rules section, choose Add rule. For Type, choose Custom TCP Rule, for Port Range, enter 27017. The source security group is the security group for the AWS Cloud9 environment you just created. Keep the Source as the default value of Custom and enter &#8220;cloud9&#8221; in the field adjacent to Custom to see a list of available security groups. Choose the security group with the name aws-cloud9-&lt;environment name&gt;. Accept all other defaults and choose Create security group. You do not need to modify the outbound rules.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh6.googleusercontent.com\/PW--bDWqHuTMnBKiWWObHkJwjL6_d8-a50-p9-_ZGdel2G2i-eQnPhwGmafcNSobMPobmAXdptbKU1qbfsn9GdMLx9Ct_khNnrtHlk0DW8NcEBYakgrSRbMeapSuFKeK45HG9NSH5p0D6E21z8Ezxg\" alt=\"How to set up a Document Database with Amazon DocumentDB (with MongoDB compatibility) and AWS Cloud9 in a private VPC?\"\/><\/figure>\n\n\n\n<p>On success, you will see the security group created as shown in the image below.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh3.googleusercontent.com\/9jQ9_UmjLihJirn379OA8o1ma2d9ppZwGnTZf_TINwEjgMCzu9A1ssaHwh2gKWHlE146iyfSqWKSR5C7Qw9ZvTmIa7NctKGVTUoMhxueR2prH4Dh83aKLg7_d5k6tgTbEtUtxPiPgaMZbluMTIs4zg\" alt=\"How to set up a Document Database with Amazon DocumentDB (with MongoDB compatibility) and AWS Cloud9 in a private VPC?\"\/><\/figure>\n\n\n\n<p>Now, search for the Amazon DocumentDB service and click on it to navigate to its dashboard.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh6.googleusercontent.com\/9Ofe9s7QqkEgeB6vku4fkUZQtjKPOIe8-cmkcPorgFvpea8QYHWpYZOUmkrDpGwYGTbpatrimGkl8j7RsmqTJInk27DHKYr_ZhlAuTcoYN8rgjHjbIsAM9aUUwxU0kjDAbPmm6C-01ijseF-RF5DSQ\" alt=\"\"\/><\/figure>\n\n\n\n<p>You will then be navigated to the DocumentDB dashboard.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh6.googleusercontent.com\/LgCIM1Ki8RyhFABbPstwTnMVv3iKBkRkEMcf_I6sL4o4q1UpLQBhwbUYXvQcmlcI3UTDq3tRyNf83LrsTrYPQzWMV72lMtkdEQxj-HVCgLJo6L7oc4TckBKlZoaPtbcV8N-KoMB37iqvlZUthV6Ecg\" alt=\"How to set up a Document Database with Amazon DocumentDB (with MongoDB compatibility) and AWS Cloud9 in a private VPC?\"\/><\/figure>\n\n\n\n<p>Scroll down and you will see how it works, pricing recommendations and features, and the benefits of using the service.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh3.googleusercontent.com\/9OisPq0xfgiV1O06JcwE9jZqU6dQ49XFpV6ly9E5RMslnRZUWnwKtUzQ5T3OMqhb67fmItOP6wuomQzNCsVQWsRvI4-brWhrzGUJlg_CkYjZgYwR6JgcMJtDY43ksQzmLH4PdtdWhVFcn_2sDNFPPQ\" alt=\"\"\/><\/figure>\n\n\n\n<p>Expand the left navigation pane and click on Clusters.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh5.googleusercontent.com\/IUr9fyrDc0YeX_rGOImJ90Ca-qsNm1lVCDv9-su9N3v7Q01iRRRHQKPHfUg4utxXaUsf6ICTaJSL8bvU9ojCQ9saULkav8vvY-paXzltUsAjf6Z9vRCeTci2PvAchyIwzM7moBKvttsbWp2ggwjaRg\" alt=\"How to set up a Document Database with Amazon DocumentDB (with MongoDB compatibility) and AWS Cloud9 in a private VPC?\"\/><\/figure>\n\n\n\n<p>On the cluster dashboard, choose Create.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh3.googleusercontent.com\/YmmTYKnDm7ScxDgFjM-6G1m9U2dp7a744xTmQFqGAfpYAvx3bATuGJhzVoNCJNcg-hvd9q0ssq39mPhvd5QcZUn73I1zw0WnIiUKswGWMsE2A-uEF6TazVuRqs5h2FLCwMfmb59bdBJyBjuzTJMb1w\" alt=\"\"\/><\/figure>\n\n\n\n<p>You will be navigated to the creation dashboard.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh6.googleusercontent.com\/40cCN5V_ZZEMXewWRFqN_guPmIdmxNw5iNAEbMGkQi_aHIoUCvHPTY_wcw2pxvoDC6OAwFe2DYkhvVZkgtvl7V7zMaahCJl6SSP1o_B4KJ0nxu4TvklK_mRxK0RYNv8WLyPdPC47NGOfkTB72WJ7EQ\" alt=\"How to set up a Document Database with Amazon DocumentDB (with MongoDB compatibility) and AWS Cloud9 in a private VPC?\"\/><\/figure>\n\n\n\n<p>Select the instance class and from the dropdown, select db.t3.medium.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh6.googleusercontent.com\/0kwsxNvZYqUSXCPaZBu-A4hDUFPFe8QYd3aSoaITuJN_Iamq_9AlIDro3Zc-yQdIGplXPH9oF6Bjuy5qBbVBnitYw9D5sRmRTJBRDzxiNCcwugUWL1nQLEYwF3Mooql07iPHLU91svl0OL65HWlf6w\" alt=\"\"\/><\/figure>\n\n\n\n<p>For the number of instance, from the dropdown, select 1.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh4.googleusercontent.com\/dv1UCfpJ9wPpB1UqWPD6qfcpygBKV8WpHsBSbty_3JgumWcVA-u3UBLnyYuL6pGMOjBo6tQcXGmW8hbYe3dhApUP6FJeeTx9IvBFPMLuOJeWKRpz3msDrABGCw_3L_XAOQbAJy6c7IFNJhXSaKioQg\" alt=\"How to set up a Document Database with Amazon DocumentDB (with MongoDB compatibility) and AWS Cloud9 in a private VPC?\"\/><\/figure>\n\n\n\n<p>Under the Authentication section, enter a username and password. Toggle the Show advanced settings option.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh4.googleusercontent.com\/mi3nPyFcbc3fLKqV_awweBgBfIfvOP2zRmF9gvx8tj8V6icaAFXf7ZyD-4YWnJWGCHPFmpjGihtsgK6j-E26Vt2buefaEx45MPcVIL0uVKvmlV6-1HgCRSK8W2ZFDpHkQWq9gW96-u55zaeTWwiuFw\" alt=\"How to set up a Document Database with Amazon DocumentDB (with MongoDB compatibility) and AWS Cloud9 in a private VPC?\"\/><\/figure>\n\n\n\n<p>Under the Network settings in the VPC Security group dropdown, select the newly created security group.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh3.googleusercontent.com\/OYiNnY1CLjkTNeKsLTDunGhscq8Qdhac9k84kKZFbjH7WtcqpcXsHN8YDxnKGoTkKFkneK_WQwxwOQaduNbxKVZcgmfhXOOaUMoLXXgg8PleV4ay4hChLvc-VZ9zs11hFQ3Jrfoz0_MVzZuY9jEvYw\" alt=\"How to set up a Document Database with Amazon DocumentDB (with MongoDB compatibility) and AWS Cloud9 in a private VPC?\"\/><\/figure>\n\n\n\n<p>For the Cluster options and the Encryption at rest settings, leave the default configuration.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh5.googleusercontent.com\/jvMkpTCNpZjBV8qGu8w-Nzc2xyAG4VZIRHLhPtx_AE7PaqdGsIQFaE4BkSb0WE6QPfOm30EfhtTlXkf6GgFHDPzl4P0PqxF5n2z_mE6LatAmz3OIRLaGQniNaNsQ7IYs2rsDP3D3ADLkHSKHcJ9Ztg\" alt=\"How to set up a Document Database with Amazon DocumentDB (with MongoDB compatibility) and AWS Cloud9 in a private VPC?\"\/><\/figure>\n\n\n\n<p>Configure Backup and Log exports if it is needed as per your requirements.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh4.googleusercontent.com\/o6Q2uYplPmuOZMzs81Kyxselurr2z20eZI4TCZi-rzZiyCWy9JSLiK32RivFKfYVGbXFqsW6jiNACTHTyU8BxW50OnKjZR_tNy03oUsZRx0DA3NjF9p1yuj-QB2P0hviqFoLZLRc3VCyysR8o85kTg\" alt=\"\"\/><\/figure>\n\n\n\n<p>Add tags (if any needed) and enable the Deletion protection checkbox.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh5.googleusercontent.com\/lXj8IWqW368krjgkW1xGcMTGmAZDxiv14YQSv8qtK19UFB7ItG5nbcJ5T5XY4KdUPpQlXSMWBqOf8QBMNJrKyzm9WzvVVxKlOySdicXHOzS2vG2ATZBHL20yaeAAihc3nDRXoiV1HU3k3rRyeWYWVQ\" alt=\"\"\/><\/figure>\n\n\n\n<p>Scroll to the bottom, click on Create cluster.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh6.googleusercontent.com\/BovYcTTkjCCnxoivv1_fltYkRmHx_gIbJFvnH2FEgS6yA0aY37JDZPC-uk-5UzKgeBRYDr0ov4HdP-aigVp_PPmDR0zM56MssTbGoD_YJOrf1dF-ZQp0wK_fUwtoPprjXLmNLia8Br3MZtxvaw9w-w\" alt=\"\"\/><\/figure>\n\n\n\n<p>The creation might take a few minutes.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh4.googleusercontent.com\/dJwkU6iz8ZSIxWlz7ViAgrPKkmQJ8l4KEebsGaUHCzXD5dhpYsxEsn7ZCeVrAsWBLUI2dd7okbSB6KpqriLJuGh-NlA8vsrdHf_f8Z_nzigK63YY9g3S-oGSdPhEUxYHzsePfK2hK_39uQ5tKbgHaA\" alt=\"How to set up a Document Database with Amazon DocumentDB (with MongoDB compatibility) and AWS Cloud9 in a private VPC?\"\/><\/figure>\n\n\n\n<p>Meanwhile, navigate to the Cloud9 environment.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh5.googleusercontent.com\/9-jA_mkFayfzNlkOqLpL0gBJPvmAn5BAJFRX_o-t1oG6yQazb1uvLy_pyjnwdvM_d0ACRr9E6-28KiMFtXpslffw4NvxlPZ1cgsot71OJNFDJ5LOYpGDIda7oEj0ydIU5yo0QUHV8a8vMLPScWvirw\" alt=\"\"\/><\/figure>\n\n\n\n<p>At the command prompt, create the repository file with the following code:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\necho -e &quot;&#91;mongodb-org-3.6] \\nname=MongoDB Repository\\nbaseurl=https:\/\/repo.mongodb.org\/yum\/amazon\/2013.03\/mongodb-org\/3.6\/x86_64\/\\ngpgcheck=1 \\nenabled=1 \\ngpgkey=https:\/\/www.mongodb.org\/static\/pgp\/server-3.6.asc&quot; | sudo tee \/etc\/yum.repos.d\/mongodb-org-3.6.repo\n<\/pre><\/div>\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh6.googleusercontent.com\/Qe0Hzcd7Lne7fidAHnLwC1xXjUsDmyJCKrqDByjHcaBaBmSfeOMbnuUDAPzylFZEpGU3ucZNh2-Gy848qbU-F5iyvUMrZ1ysf7dA-j7e-YjDIp2NLNmmOgjbEraV8IXldmyu_7YSL60f_GgTGslP0A\" alt=\"How to set up a Document Database with Amazon DocumentDB (with MongoDB compatibility) and AWS Cloud9 in a private VPC?\"\/><\/figure>\n\n\n\n<p>When it is complete, install the mongo shell with the following code:<\/p>\n\n\n\n<p><code>sudo yum install -y mongodb-org-shell<\/code><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh5.googleusercontent.com\/_mkvt4tLYE2rJ-pIii7wtPeVIa1UuPVjK6bu8JquwhaZtQBrvaCjXkn8YZt0qxoVKOQ3mjEjvZmoz_-P70DzCTFecHN15jZHfcNB7UUXKFMJxN5liV1yG8q-Aq9wBKNDjrI7kWXsTIrwokoE52xLMw\" alt=\"\"\/><\/figure>\n\n\n\n<p>On success, you will see the Complete message in the terminal as shown in the image below.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh3.googleusercontent.com\/lx-71ERIGzq6ff6FX5yM378RQy-WYtpNujp7x-d6FLhgU5PMh8yLzzhzcG9AURvOns2yBSVNpRwCvh3vWlULEQZaTk8A47v2Fm9NseFnCHBH2tuks6HAx-OH1QcD0uYyZMtpN4wxxn9cq9bHgRWEwg\" alt=\"How to set up a Document Database with Amazon DocumentDB (with MongoDB compatibility) and AWS Cloud9 in a private VPC?\"\/><\/figure>\n\n\n\n<p class=\"has-text-align-justify\">Navigate back to the DocumentDB dashboard and once the Status changes to available, click on the newly created cluster.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh6.googleusercontent.com\/CJqrimreEYPZgOrF6EEDdGUBp8V0YjXoM9_0G5Ira0-z79SFiM3jXlKh9hVB0iKrZ4ohM595PF-HThKRt12gOJSQ1OiZrgkGMHOVhR2uGIumR9Dz233HH7KAfQprpVwg1G8S5Wd7iDT6U1S2Nk3nMQ\" alt=\"How to set up a Document Database with Amazon DocumentDB (with MongoDB compatibility) and AWS Cloud9 in a private VPC?\"\/><\/figure>\n\n\n\n<p class=\"has-text-align-justify\">Under the connectivity &amp; security section, you will see the various connection string options. Copy the first command to install the Certificate Authority needed to authenticate your cluster.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh3.googleusercontent.com\/tFnMezbErC0HhPdewwNLCJGJKAPG-eTvoj_HRBLLSXIPaoHyz19mT8KdC70eecvO-S5ssnuBMU7AFW7UEemKULBVWEq5AEZ2dZ9HRcXAJeq-1UZPL_ZbTxtvk3IPR9ZdMKESgbfQD4Ox1e0Y9Tt0BQ\" alt=\"\"\/><\/figure>\n\n\n\n<p>In the Cloud9 environment terminal, paste and execute the command.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh5.googleusercontent.com\/dYafIxhar8zK7GwQoeadAfaSUuxjluidP3Nt6ztRxJJvLzwn05Dr5BifsSOI6TyCiYSErZl0AdBOyyjSmvASTIjHI2ZiJ-bAMjgYdu6WuNgoHlgG-bDqOZ3QlVwYs7nObFJAK6BhTt08z-t8sPoqKg\" alt=\"How to set up a Document Database with Amazon DocumentDB (with MongoDB compatibility) and AWS Cloud9 in a private VPC?\"\/><\/figure>\n\n\n\n<p class=\"has-text-align-justify\">Copy the connection string provided under \u201cConnect to this cluster with the mongo shell\u201d from the DocumentDB dashboard. Omit &lt;insertYourPassword&gt; so that you are prompted for the password by the mongo shell when you connect. This way, you don\u2019t have to type your password in cleartext. Enter the password when prompted. When you enter your password and can see the rs0:PRIMARY&gt; prompt, you are successfully connected to your Amazon DocumentDB cluster.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh4.googleusercontent.com\/rqB6XclvyvRFOZ6aBA_1dAk_XbVpebRyAwza-KYs0CRQ9WN6fj9yXE03hohZYG4bkZkeg_WtP8sN4M_JPskyDcoiS0MzYbfXAErbWpVkGrWG_c8xqD5-zDURdwaWmD1W8iHH9VZGZECXzjfn_3lr_Q\" alt=\"\"\/><\/figure>\n\n\n\n<p>To insert a single document, enter the following code:<\/p>\n\n\n\n<p><code>db.collection.insert({\"hello\":\"DocumentDB\"})<\/code><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh6.googleusercontent.com\/LPpcAGEWimiBX2qIk5wPzZ0i88IPYLIIE0nlFyWBLIE9L870h2XXdgiJUux7vuC5OtfHGyyKt-QkWB-4FRScQ_jWVzmH0tspaKJ9p2rt_ZJwu3IoylabcTWERYlVqGlg2ZBSpGZM18bzk_d8SujxHQ\" alt=\"\"\/><\/figure>\n\n\n\n<p>You can read the document that you wrote with the findOne() command (because it only returns a single document). Run the following code:<\/p>\n\n\n\n<p><code>db.collection.findOne()<\/code><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh6.googleusercontent.com\/yRMdNoO2EfxusX-rYcONmDCsFTEuWObOlSdDe8AYRpGZQzEhbrexHznHEI6KYtc93FW-LBF55mBW70YhaKRWgkKGLmZ3D4pAOh89fhLutGRYWDDQzBIar4REmAB3qP88CFYQ2Pzw8zAHaQw3ANrS4g\" alt=\"\"\/><\/figure>\n\n\n\n<p class=\"has-text-align-justify\">To perform a few more queries, consider a gaming profile use case. First, insert a few entries into a collection entitled profiles. Run the following code:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\ndb.profiles.insertMany(&#91;\n{ &quot;_id&quot; : 1, &quot;name&quot; : &quot;Tim&quot;, &quot;status&quot;: &quot;active&quot;, &quot;level&quot;: 12, &quot;score&quot;:202},\n{ &quot;_id&quot; : 2, &quot;name&quot; : &quot;Justin&quot;, &quot;status&quot;: &quot;inactive&quot;, &quot;level&quot;: 2, &quot;score&quot;:9},\n{ &quot;_id&quot; : 3, &quot;name&quot; : &quot;Beth&quot;, &quot;status&quot;: &quot;active&quot;, &quot;level&quot;: 7, &quot;score&quot;:87},\n{ &quot;_id&quot; : 4, &quot;name&quot; : &quot;Jesse&quot;, &quot;status&quot;: &quot;active&quot;, &quot;level&quot;: 3, &quot;score&quot;:27}\n])\n<\/pre><\/div>\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh4.googleusercontent.com\/FNn_rr6X1A3P1IJMsx01_U1pQAaHos7U_4EaLMtJW79rhxhNJPMmaZ6GsJJ0RnOJT3g15kAPzMFyi8RzEv4DCjjDUmnvizHNpg89KrZQd30kk7KqX4P-d8A4p71asUzznHeeKnwQq2dDMhSxPmRzzg\" alt=\"How to set up a Document Database with Amazon DocumentDB (with MongoDB compatibility) and AWS Cloud9 in a private VPC?\"\/><\/figure>\n\n\n\n<p>Use the find() command to return all the documents in the profiles collection. Run the following code:<\/p>\n\n\n\n<p><code>db.profiles.find()<\/code><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh6.googleusercontent.com\/0bFfKVFmvxvYWP2xR3pgg3XIPhbv8bywLa-6AhWVGPS5rvnlvQlmuXnGO1KXx5mWUkbvf1yQpNQBHekNH0RGEv5-iySDaRFnDI0lj3lGvvCYG8VuxzVzoRop3BvmmRwf5Ca1DEUjkGekPq8YLcgsog\" alt=\"\"\/><\/figure>\n\n\n\n<p>Use a query for a single document using a filter. Run the following code.<\/p>\n\n\n\n<p><code>db.profiles.find({name: \"Jesse\"})<\/code><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh3.googleusercontent.com\/pWMVj0mOJx2joR8VLtsC2pxlsm1lESwfXOcOw--msCEaappR-QqvcJftSU6hGuxaLUWvHZahNb0MPxSoXfGOUP4KXcpWZO-Vma6sEkivJG1kzhmtqfgHI8LAb59GrwNAqYnr7FxqQ0gq9BqYnAfHyg\" alt=\"\"\/><\/figure>\n\n\n\n<p class=\"has-text-align-justify\">A common use case in gaming is finding a profile for a given user and incrementing a value in the user\u2019s profile. In this scenario, you want to run a promotion for the top active gamers. If the gamer fills out a survey, you increase their score by +10.<\/p>\n\n\n\n<p class=\"has-text-align-justify\">To do that, use the findAndModify command. In this use case, the user Tim received and completed a survey. To give Tim the credit to their score, enter the following code:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\ndb.profiles.findAndModify({\n   query: { name: &quot;Tim&quot;, status: &quot;active&quot;},\n   update: { $inc: { score: 10 } }\n})\n<\/pre><\/div>\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh5.googleusercontent.com\/c8MM_oHxWe5IA1Kzcbgp_dgZJ_EMDXAq906Q3NnUOBURIeyIf566iZ0ied6EUEQ0ZPxxHEEadu6ElfhXGyctP6iWJc2iU5dCSeIdifFYK5TqiUIGL0W7l9TWOPV_qcQuJcxiNj-2nanKfdnvY800nQ\" alt=\"How to set up a Document Database with Amazon DocumentDB (with MongoDB compatibility) and AWS Cloud9 in a private VPC?\"\/><\/figure>\n\n\n\n<p>You can verify the result with the following query:<\/p>\n\n\n\n<p><code>db.profiles.find({name: \"Tim\"})<\/code><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh5.googleusercontent.com\/s3h8cWISQaavr50zcnMv90HxMv6p4QYwdUHbbmMMTATQ-TbuYsezCuN_bkB_V6eJwhVPZlBFaVKW0zpi0zROVEliRKGJ0hKDZkxtPILyQtrG-zUy_Q8N0A3DzIqFoGmzUXy_Q-Oo8ZbTJkFjIlyMwA\" alt=\"\"\/><\/figure>\n\n\n\n<p>In case you wish to delete the cluster, if you try to delete it, you will see the message as shown in the image below.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh4.googleusercontent.com\/PKmAJqfh7YsLJ7SKMlEjF1-_HQq_aES2QMqnUGnpti6kaCz6hTKRWgujSznBv_4Pi3LdYMabQm4TJNsGoMvwfRpdaMuAg6o4wXdD3nwPnNWzyPe8qpUMLqw4XRt5RP7CMdq5oBCuPnxt-OK1_8VZsw\" alt=\"\"\/><\/figure>\n\n\n\n<p>To resolve the error, select the cluster, choose to modify from the Actions dropdown.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh5.googleusercontent.com\/JF34esNGSR5N5IHMhF8Y1IJVECnO0fv_7Tw4jaLo_asbDHQbFxNTb69LBTJFeng0Y-5Cny7M0lRWv5zTA0nwRJH2EHjUxBm9HcgyT_qeI8buYAVdY5Zesa5ABt467HF-C2CUN1RXdHkCILymsWg2MQ\" alt=\"How to set up a Document Database with Amazon DocumentDB (with MongoDB compatibility) and AWS Cloud9 in a private VPC?\"\/><\/figure>\n\n\n\n<p>Scroll to the bottom and disable the checkbox for Deletion protection and click on Continue.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh3.googleusercontent.com\/XuwkJTpQVD6G59ncbaCNEMoYKtq0cJyrxvfLY7TeTpS-XUuVA4bvK5zK8utgXJpHV5LdywxMgZFLZ3y-7-nMR0JxRmzynfues2Ux5HTdvnWEDvI0_jwpQkh6MypBCM4wAqiDCHlf46p_DPni-misFw\" alt=\"\"\/><\/figure>\n\n\n\n<p>Finally, click on Modify Cluster to confirm the settings.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh3.googleusercontent.com\/zmtrOHBr9pZdXXNs8BnNA6es0mJkmjOWXDHtAOK2CqDxb_5hqRLLUXXsbj4jcDhgkgU-4GU0EFlV5Un7VZuvQdODZONLA0uZdnu4q3qTVLfldHnaAUQKjHWQvbZ9EfifpupXDsYwDzyuucgJqiUg8A\" alt=\"How to set up a Document Database with Amazon DocumentDB (with MongoDB compatibility) and AWS Cloud9 in a private VPC?\"\/><\/figure>\n\n\n\n<p>Now if you delete the cluster, you won\u2019t face any such error.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh4.googleusercontent.com\/Zqhg_sVy_Poh5G7OSlMA29gett3lDS-nNeLLJ6iMezH0QL0-G-m7xWLbcGjK_jtR_GBlakXjEDJyqboFusqFVjUaVggjROJU3wPnfuNWP2VN7E6J5muKSW1JMC0qkQasG-_rL9243GSiu6SlbNuNcA\" alt=\"\"\/><\/figure>\n\n\n\n<p>Select Snapshot if you wish to get a snapshot, else skip and delete the cluster.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh4.googleusercontent.com\/cTVKJnBAAMe75kzYxKGam-VAOiahHkStAFOJqdt-DRoJ4bMOPTmNzmEesWqb02MklT3GGEB1Xh305MWnlN0wLH4wZ3zafWhPrV83vFxMO-q6I2diInNcPf0Y6FkG-9VPsjY5XgyTX3vMlRl0894MBg\" alt=\"How to set up a Document Database with Amazon DocumentDB (with MongoDB compatibility) and AWS Cloud9 in a private VPC?\"\/><\/figure>\n\n\n\n<p>Navigate to the Cloud9 dashboard. Select the environment and click on Delete.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh3.googleusercontent.com\/hAQPO_g9plGjXDQIp-IJYYHEIrMArRxpgwRDRM36sdpx1JfjO6tEWNZJBC2Tx0g0MS6FaOMdBjq2J7eB7LC7aNuU35DOS6SwMC6JjGuxRm_J7C4rFYLaim_UvxxDJMqlUQOk4XUctnH_MXBjshoajw\" alt=\"\"\/><\/figure>\n\n\n\n<p class=\"has-text-align-justify\">Enter Delete and the environment deletion process will begin. Do not forget to delete the Security group as well that we created above.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh6.googleusercontent.com\/85ulpSixaNUI2Ftqth8ahGfgJM0mJN8ATT6YphdqLKBKUjqQ3uFF7nN-dclmEM7zhceukn4G3PpGB9VoyfvMa8eR4u0_iQSFIlIQG-XS9LS74pLng2WGmeBE0zmcvvWOFVP-3LACh-wF-API1I-mmg\" alt=\"\"\/><\/figure>\n\n\n\n<h2>Conclusion<\/h2>\n\n\n\n<p class=\"has-text-align-justify\">In this blog, we saw how to make use of an environment in AWS Cloud9 to set up a Document Database with Amazon DocumentDB (with MongoDB compatibility) in a private VPC. We then explored the AWS Cloud9 dashboard and saw how to create a new environment. We then created a new Security group adding an inbound rule. Proceeding further, we explored the Amazon DocumentDB dashboard. Creating a new cluster on the clusters dashboard, we then created a new repository file on the Cloud9 environment. We then installed the mongo shell for the MongoDB compatibility on the Cloud9 terminal and for the final step, we installed the Amazon DocumentDB Certificate Authority certificate to authenticate the cluster and then connected to the cluster via Cloud9 environment with the mongo shell using the connection string. We then tested multiple queries to confirm its execution. On successful execution, we had a look at the cleansing of resources to avoid unnecessary add-on costs for the resources. We will discuss more use cases of Amazon DocumentDB and its integration with other services in our upcoming blogs. Stay tuned to keep getting all updates about our upcoming new blogs on AWS and relevant technologies.<\/p>\n\n\n\n<p>Meanwhile \u2026<\/p>\n\n\n\n<p>Keep Exploring -&gt; Keep Learning -&gt; Keep Mastering<\/p>\n\n\n\n<p class=\"has-text-align-justify\">This blog is part of our effort towards building a knowledgeable and kick-ass tech community. At <a href=\"https:\/\/www.workfall.com\/\">Workfall<\/a>, we strive to provide the best tech and pay opportunities to AWS-certified talents. If you\u2019re looking to work with global clients, build kick-ass products while making big bucks doing so, give it a shot at <a href=\"https:\/\/www.workfall.com\/partner\/\">workfall.com\/partner<\/a> today.<\/p>\n","protected":false},"excerpt":{"rendered":"<p><span class=\"rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\">Reading Time: <\/span> <span class=\"rt-time\">11<\/span> <span class=\"rt-label rt-postfix\">minutes<\/span><\/span> Are you utterly exhausted from thinking about your storage of data? You can get a fast, scalable, highly available, and fully managed document database service that supports MongoDB workloads and makes it easy to store, query, and index JSON data with Amazon DocumentDB (with MongoDB compatibility). In this blog, we will see how to get [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":201,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"spay_email":""},"categories":[2],"tags":[3,24,26,27,23,25,6],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v19.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to set up a Document Database with Amazon DocumentDB (with MongoDB compatibility) and AWS Cloud9 in a private VPC? - The Workfall Blog<\/title>\n<meta name=\"description\" content=\"In this blog, we will see how to get started with Amazon DocumentDB using AWS Cloud9.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/18.141.20.153\/learning\/blog\/how-to-set-up-a-document-database-with-amazon-documentdb-with-mongodb-compatibility-and-aws-cloud9-in-a-private-vpc\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to set up a Document Database with Amazon DocumentDB (with MongoDB compatibility) and AWS Cloud9 in a private VPC? - The Workfall Blog\" \/>\n<meta property=\"og:description\" content=\"In this blog, we will see how to get started with Amazon DocumentDB using AWS Cloud9.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/18.141.20.153\/learning\/blog\/how-to-set-up-a-document-database-with-amazon-documentdb-with-mongodb-compatibility-and-aws-cloud9-in-a-private-vpc\/\" \/>\n<meta property=\"og:site_name\" content=\"The Workfall Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/facebook.com\/workfall\" \/>\n<meta property=\"article:published_time\" content=\"2021-10-27T08:12:40+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-05-08T11:27:27+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/18.141.20.153\/learning\/blog\/wp-content\/uploads\/2021\/10\/DocumentDB-1200-x-628-px.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"628\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@workfall\" \/>\n<meta name=\"twitter:site\" content=\"@workfall\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Workfall\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"22 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/#organization\",\"name\":\"Workfall - Hire #Kickass Coders On Demand\",\"url\":\"https:\/\/learning.workfall.com\/learning\/blog\/\",\"sameAs\":[\"https:\/\/www.instagram.com\/workfall\/\",\"https:\/\/www.linkedin.com\/company\/workfall\/\",\"https:\/\/facebook.com\/workfall\",\"https:\/\/twitter.com\/workfall\"],\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/i1.wp.com\/18.141.20.153\/learning\/blog\/wp-content\/uploads\/2021\/10\/cropped-WF_logo.png?fit=400%2C400\",\"contentUrl\":\"https:\/\/i1.wp.com\/18.141.20.153\/learning\/blog\/wp-content\/uploads\/2021\/10\/cropped-WF_logo.png?fit=400%2C400\",\"width\":400,\"height\":400,\"caption\":\"Workfall - Hire #Kickass Coders On Demand\"},\"image\":{\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/#\/schema\/logo\/image\/\"}},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/#website\",\"url\":\"https:\/\/learning.workfall.com\/learning\/blog\/\",\"name\":\"The Workfall Blog\",\"description\":\"#Tech #Remote #Jobs\",\"publisher\":{\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/learning.workfall.com\/learning\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/18.141.20.153\/learning\/blog\/how-to-set-up-a-document-database-with-amazon-documentdb-with-mongodb-compatibility-and-aws-cloud9-in-a-private-vpc\/#primaryimage\",\"url\":\"https:\/\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/10\/DocumentDB-1200-x-628-px.png\",\"contentUrl\":\"https:\/\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/10\/DocumentDB-1200-x-628-px.png\",\"width\":1200,\"height\":628,\"caption\":\"Set up a Document Database with Amazon DocumentDB (with MongoDB compatibility) and AWS Cloud9 in a private VPC\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/18.141.20.153\/learning\/blog\/how-to-set-up-a-document-database-with-amazon-documentdb-with-mongodb-compatibility-and-aws-cloud9-in-a-private-vpc\/#webpage\",\"url\":\"https:\/\/18.141.20.153\/learning\/blog\/how-to-set-up-a-document-database-with-amazon-documentdb-with-mongodb-compatibility-and-aws-cloud9-in-a-private-vpc\/\",\"name\":\"How to set up a Document Database with Amazon DocumentDB (with MongoDB compatibility) and AWS Cloud9 in a private VPC? - The Workfall Blog\",\"isPartOf\":{\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/18.141.20.153\/learning\/blog\/how-to-set-up-a-document-database-with-amazon-documentdb-with-mongodb-compatibility-and-aws-cloud9-in-a-private-vpc\/#primaryimage\"},\"datePublished\":\"2021-10-27T08:12:40+00:00\",\"dateModified\":\"2023-05-08T11:27:27+00:00\",\"description\":\"In this blog, we will see how to get started with Amazon DocumentDB using AWS Cloud9.\",\"breadcrumb\":{\"@id\":\"https:\/\/18.141.20.153\/learning\/blog\/how-to-set-up-a-document-database-with-amazon-documentdb-with-mongodb-compatibility-and-aws-cloud9-in-a-private-vpc\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/18.141.20.153\/learning\/blog\/how-to-set-up-a-document-database-with-amazon-documentdb-with-mongodb-compatibility-and-aws-cloud9-in-a-private-vpc\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/18.141.20.153\/learning\/blog\/how-to-set-up-a-document-database-with-amazon-documentdb-with-mongodb-compatibility-and-aws-cloud9-in-a-private-vpc\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/learning.workfall.com\/learning\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to set up a Document Database with Amazon DocumentDB (with MongoDB compatibility) and AWS Cloud9 in a private VPC?\"}]},{\"@type\":\"Article\",\"@id\":\"https:\/\/18.141.20.153\/learning\/blog\/how-to-set-up-a-document-database-with-amazon-documentdb-with-mongodb-compatibility-and-aws-cloud9-in-a-private-vpc\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/18.141.20.153\/learning\/blog\/how-to-set-up-a-document-database-with-amazon-documentdb-with-mongodb-compatibility-and-aws-cloud9-in-a-private-vpc\/#webpage\"},\"author\":{\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/#\/schema\/person\/cab8236044692bc5b27606b13167794a\"},\"headline\":\"How to set up a Document Database with Amazon DocumentDB (with MongoDB compatibility) and AWS Cloud9 in a private VPC?\",\"datePublished\":\"2021-10-27T08:12:40+00:00\",\"dateModified\":\"2023-05-08T11:27:27+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/18.141.20.153\/learning\/blog\/how-to-set-up-a-document-database-with-amazon-documentdb-with-mongodb-compatibility-and-aws-cloud9-in-a-private-vpc\/#webpage\"},\"wordCount\":2019,\"publisher\":{\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/18.141.20.153\/learning\/blog\/how-to-set-up-a-document-database-with-amazon-documentdb-with-mongodb-compatibility-and-aws-cloud9-in-a-private-vpc\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/10\/DocumentDB-1200-x-628-px.png\",\"keywords\":[\"AWS\",\"Cloud Computing\",\"Cloud9\",\"Database\",\"DocumentDB\",\"VPC\",\"workfall\"],\"articleSection\":[\"AWS Cloud Computing\"],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/#\/schema\/person\/cab8236044692bc5b27606b13167794a\",\"name\":\"Workfall\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2023\/09\/avatar_user_1_1693914404-96x96.png\",\"contentUrl\":\"https:\/\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2023\/09\/avatar_user_1_1693914404-96x96.png\",\"caption\":\"Workfall\"},\"sameAs\":[\"https:\/\/www.workfall.com\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to set up a Document Database with Amazon DocumentDB (with MongoDB compatibility) and AWS Cloud9 in a private VPC? - The Workfall Blog","description":"In this blog, we will see how to get started with Amazon DocumentDB using AWS Cloud9.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/18.141.20.153\/learning\/blog\/how-to-set-up-a-document-database-with-amazon-documentdb-with-mongodb-compatibility-and-aws-cloud9-in-a-private-vpc\/","og_locale":"en_US","og_type":"article","og_title":"How to set up a Document Database with Amazon DocumentDB (with MongoDB compatibility) and AWS Cloud9 in a private VPC? - The Workfall Blog","og_description":"In this blog, we will see how to get started with Amazon DocumentDB using AWS Cloud9.","og_url":"https:\/\/18.141.20.153\/learning\/blog\/how-to-set-up-a-document-database-with-amazon-documentdb-with-mongodb-compatibility-and-aws-cloud9-in-a-private-vpc\/","og_site_name":"The Workfall Blog","article_publisher":"https:\/\/facebook.com\/workfall","article_published_time":"2021-10-27T08:12:40+00:00","article_modified_time":"2023-05-08T11:27:27+00:00","og_image":[{"width":1200,"height":628,"url":"https:\/\/18.141.20.153\/learning\/blog\/wp-content\/uploads\/2021\/10\/DocumentDB-1200-x-628-px.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_creator":"@workfall","twitter_site":"@workfall","twitter_misc":{"Written by":"Workfall","Est. reading time":"22 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Organization","@id":"https:\/\/learning.workfall.com\/learning\/blog\/#organization","name":"Workfall - Hire #Kickass Coders On Demand","url":"https:\/\/learning.workfall.com\/learning\/blog\/","sameAs":["https:\/\/www.instagram.com\/workfall\/","https:\/\/www.linkedin.com\/company\/workfall\/","https:\/\/facebook.com\/workfall","https:\/\/twitter.com\/workfall"],"logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/learning.workfall.com\/learning\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/i1.wp.com\/18.141.20.153\/learning\/blog\/wp-content\/uploads\/2021\/10\/cropped-WF_logo.png?fit=400%2C400","contentUrl":"https:\/\/i1.wp.com\/18.141.20.153\/learning\/blog\/wp-content\/uploads\/2021\/10\/cropped-WF_logo.png?fit=400%2C400","width":400,"height":400,"caption":"Workfall - Hire #Kickass Coders On Demand"},"image":{"@id":"https:\/\/learning.workfall.com\/learning\/blog\/#\/schema\/logo\/image\/"}},{"@type":"WebSite","@id":"https:\/\/learning.workfall.com\/learning\/blog\/#website","url":"https:\/\/learning.workfall.com\/learning\/blog\/","name":"The Workfall Blog","description":"#Tech #Remote #Jobs","publisher":{"@id":"https:\/\/learning.workfall.com\/learning\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/learning.workfall.com\/learning\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/18.141.20.153\/learning\/blog\/how-to-set-up-a-document-database-with-amazon-documentdb-with-mongodb-compatibility-and-aws-cloud9-in-a-private-vpc\/#primaryimage","url":"https:\/\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/10\/DocumentDB-1200-x-628-px.png","contentUrl":"https:\/\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/10\/DocumentDB-1200-x-628-px.png","width":1200,"height":628,"caption":"Set up a Document Database with Amazon DocumentDB (with MongoDB compatibility) and AWS Cloud9 in a private VPC"},{"@type":"WebPage","@id":"https:\/\/18.141.20.153\/learning\/blog\/how-to-set-up-a-document-database-with-amazon-documentdb-with-mongodb-compatibility-and-aws-cloud9-in-a-private-vpc\/#webpage","url":"https:\/\/18.141.20.153\/learning\/blog\/how-to-set-up-a-document-database-with-amazon-documentdb-with-mongodb-compatibility-and-aws-cloud9-in-a-private-vpc\/","name":"How to set up a Document Database with Amazon DocumentDB (with MongoDB compatibility) and AWS Cloud9 in a private VPC? - The Workfall Blog","isPartOf":{"@id":"https:\/\/learning.workfall.com\/learning\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/18.141.20.153\/learning\/blog\/how-to-set-up-a-document-database-with-amazon-documentdb-with-mongodb-compatibility-and-aws-cloud9-in-a-private-vpc\/#primaryimage"},"datePublished":"2021-10-27T08:12:40+00:00","dateModified":"2023-05-08T11:27:27+00:00","description":"In this blog, we will see how to get started with Amazon DocumentDB using AWS Cloud9.","breadcrumb":{"@id":"https:\/\/18.141.20.153\/learning\/blog\/how-to-set-up-a-document-database-with-amazon-documentdb-with-mongodb-compatibility-and-aws-cloud9-in-a-private-vpc\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/18.141.20.153\/learning\/blog\/how-to-set-up-a-document-database-with-amazon-documentdb-with-mongodb-compatibility-and-aws-cloud9-in-a-private-vpc\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/18.141.20.153\/learning\/blog\/how-to-set-up-a-document-database-with-amazon-documentdb-with-mongodb-compatibility-and-aws-cloud9-in-a-private-vpc\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/learning.workfall.com\/learning\/blog\/"},{"@type":"ListItem","position":2,"name":"How to set up a Document Database with Amazon DocumentDB (with MongoDB compatibility) and AWS Cloud9 in a private VPC?"}]},{"@type":"Article","@id":"https:\/\/18.141.20.153\/learning\/blog\/how-to-set-up-a-document-database-with-amazon-documentdb-with-mongodb-compatibility-and-aws-cloud9-in-a-private-vpc\/#article","isPartOf":{"@id":"https:\/\/18.141.20.153\/learning\/blog\/how-to-set-up-a-document-database-with-amazon-documentdb-with-mongodb-compatibility-and-aws-cloud9-in-a-private-vpc\/#webpage"},"author":{"@id":"https:\/\/learning.workfall.com\/learning\/blog\/#\/schema\/person\/cab8236044692bc5b27606b13167794a"},"headline":"How to set up a Document Database with Amazon DocumentDB (with MongoDB compatibility) and AWS Cloud9 in a private VPC?","datePublished":"2021-10-27T08:12:40+00:00","dateModified":"2023-05-08T11:27:27+00:00","mainEntityOfPage":{"@id":"https:\/\/18.141.20.153\/learning\/blog\/how-to-set-up-a-document-database-with-amazon-documentdb-with-mongodb-compatibility-and-aws-cloud9-in-a-private-vpc\/#webpage"},"wordCount":2019,"publisher":{"@id":"https:\/\/learning.workfall.com\/learning\/blog\/#organization"},"image":{"@id":"https:\/\/18.141.20.153\/learning\/blog\/how-to-set-up-a-document-database-with-amazon-documentdb-with-mongodb-compatibility-and-aws-cloud9-in-a-private-vpc\/#primaryimage"},"thumbnailUrl":"https:\/\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/10\/DocumentDB-1200-x-628-px.png","keywords":["AWS","Cloud Computing","Cloud9","Database","DocumentDB","VPC","workfall"],"articleSection":["AWS Cloud Computing"],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/learning.workfall.com\/learning\/blog\/#\/schema\/person\/cab8236044692bc5b27606b13167794a","name":"Workfall","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/learning.workfall.com\/learning\/blog\/#\/schema\/person\/image\/","url":"https:\/\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2023\/09\/avatar_user_1_1693914404-96x96.png","contentUrl":"https:\/\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2023\/09\/avatar_user_1_1693914404-96x96.png","caption":"Workfall"},"sameAs":["https:\/\/www.workfall.com"]}]}},"jetpack_featured_media_url":"https:\/\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/10\/DocumentDB-1200-x-628-px.png","jetpack-related-posts":[{"id":647,"url":"https:\/\/learning.workfall.com\/learning\/blog\/store-query-and-index-json-data-using-aws-documentdb\/","url_meta":{"origin":198,"position":0},"title":"How to store, query, and index JSON data using AWS DocumentDB?","date":"November 11, 2021","format":false,"excerpt":"NoSQL databases are a great choice for many modern applications such as mobile, web, and gaming that require flexible, scalable, high-performance, and highly functional databases to provide great user experiences. In this blog, we will discuss AWS DocumentDB followed by the implementation to connect to the Amazon DocumentDB cluster from\u2026","rel":"","context":"In &quot;AWS Cloud Computing&quot;","img":{"alt_text":"AWS DocumentDB and JSON Data - Workfall","src":"https:\/\/i1.wp.com\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/11\/DocumentDB01.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":863,"url":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-manage-backups-for-amazon-documentdb-cluster-with-mongodb-compatibility-using-aws-backup\/","url_meta":{"origin":198,"position":1},"title":"How to manage backups for Amazon DocumentDB cluster (with MongoDB compatibility) using AWS Backup?","date":"January 25, 2022","format":false,"excerpt":"Amazon DocumentDB (with MongoDB compatibility) cluster backups are now supported by AWS Backup, expanding the list of AWS features that are supported across compute, storage, and database. With this release, you'll be able to maintain and restore backups for the Amazon DocumentDB database clusters via the AWS Backup service all\u2026","rel":"","context":"In &quot;AWS Cloud Computing&quot;","img":{"alt_text":"Manage backups for Amazon DocumentDB cluster (with MongoDB compatibility) using AWS Backup","src":"https:\/\/i2.wp.com\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2022\/01\/Cover-Images_Part2-2.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":785,"url":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-perform-an-amazon-aurora-database-deployment-that-replicates-data-and-spans-across-multiple-aws-regions\/","url_meta":{"origin":198,"position":2},"title":"How to perform an Amazon Aurora Database deployment that replicates data and spans across multiple AWS regions?","date":"November 30, 2021","format":false,"excerpt":"Amazon Web Services provides us with the flexibility of managing the data in the databases with ease. The flexibility is thus provided by an AWS Service called Amazon Aurora. An Amazon Aurora cluster contains one or more DB instances and a cluster volume that helps us manage the data for\u2026","rel":"","context":"In &quot;AWS Cloud Computing&quot;","img":{"alt_text":"Amazon Aurora Database Deployment","src":"https:\/\/i0.wp.com\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/11\/CoverImages_1200x628px-8.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":802,"url":"https:\/\/learning.workfall.com\/learning\/blog\/gamelift-fleet-and-add-a-queue-to-accept-game-session-requests-route-using-amazon-gamelift\/","url_meta":{"origin":198,"position":3},"title":"How to create a GameLift fleet and add a queue to accept game session requests and route them to the best fleet globally using Amazon GameLift?","date":"December 13, 2021","format":false,"excerpt":"MMOG (Massively Multiplayer Online Gaming) is a vast and expanding market with a diverse user base. However, while global internet access, which is required for MMOGs, has risen, there are still significant technological obstacles. It's not easy to build sophisticated, reliable, and scalable infrastructure to offer MMOs. And, in any\u2026","rel":"","context":"In &quot;AWS Cloud Computing&quot;","img":{"alt_text":"Amazon GameLift","src":"https:\/\/i1.wp.com\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/12\/gamelift-1.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":375,"url":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-design-redshift-cluster-and-querying-data-using-query-editor\/","url_meta":{"origin":198,"position":4},"title":"How to design a Redshift cluster and query data using a query editor?","date":"November 3, 2021","format":false,"excerpt":"Amazon Redshift is a cloud Data warehouse solution for querying and analyzing data. In this blog, we will discuss how Redshift delivers fast query performance. Amazon Redshift provides different types of instances to maximize speed for performance-intensive workloads. It provides fast performance for datasets varying in size from gigabytes to\u2026","rel":"","context":"In &quot;AWS Cloud Computing&quot;","img":{"alt_text":"Amazon Redshift - A Cloud Data Warehouse Solution","src":"https:\/\/i2.wp.com\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/11\/redshift.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":614,"url":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-do-database-migration-using-aws-database-migration-service-dms-from-on-premise-ec2-to-rds\/","url_meta":{"origin":198,"position":5},"title":"AWS DMS: Migrating On-Premise\/EC2 Databases to RDS Made Simple","date":"November 11, 2021","format":false,"excerpt":"Do you want to migrate your on-premise databases to AWS with minimal or no downtime? In today\u2019s fast-paced world,\u00a024\/7 application and database availability are the basic criteria to consider. In this case, some of your applications may not be able to afford significant downtime while migrating on-premises databases. In this\u2026","rel":"","context":"In &quot;AWS Cloud Computing&quot;","img":{"alt_text":"Database Migration using AWS Database Migration Service (DMS)","src":"https:\/\/i0.wp.com\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/11\/DMS.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]}],"_links":{"self":[{"href":"https:\/\/learning.workfall.com\/learning\/blog\/wp-json\/wp\/v2\/posts\/198"}],"collection":[{"href":"https:\/\/learning.workfall.com\/learning\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/learning.workfall.com\/learning\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/learning.workfall.com\/learning\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/learning.workfall.com\/learning\/blog\/wp-json\/wp\/v2\/comments?post=198"}],"version-history":[{"count":7,"href":"https:\/\/learning.workfall.com\/learning\/blog\/wp-json\/wp\/v2\/posts\/198\/revisions"}],"predecessor-version":[{"id":2253,"href":"https:\/\/learning.workfall.com\/learning\/blog\/wp-json\/wp\/v2\/posts\/198\/revisions\/2253"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/learning.workfall.com\/learning\/blog\/wp-json\/wp\/v2\/media\/201"}],"wp:attachment":[{"href":"https:\/\/learning.workfall.com\/learning\/blog\/wp-json\/wp\/v2\/media?parent=198"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/learning.workfall.com\/learning\/blog\/wp-json\/wp\/v2\/categories?post=198"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/learning.workfall.com\/learning\/blog\/wp-json\/wp\/v2\/tags?post=198"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}