<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Buddhika Ramanayake on Medium]]></title>
        <description><![CDATA[Stories by Buddhika Ramanayake on Medium]]></description>
        <link>https://medium.com/@bdhanushka65?source=rss-ae0241c10d02------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*9Dldr6p45u6H2t7H</url>
            <title>Stories by Buddhika Ramanayake on Medium</title>
            <link>https://medium.com/@bdhanushka65?source=rss-ae0241c10d02------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 09:03:08 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@bdhanushka65/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[What you need to know about MongoDB Atlas ?]]></title>
            <link>https://medium.com/@bdhanushka65/what-you-need-to-know-about-mongodb-atlas-b4743727e7f1?source=rss-ae0241c10d02------2</link>
            <guid isPermaLink="false">https://medium.com/p/b4743727e7f1</guid>
            <category><![CDATA[mongodb-atlas]]></category>
            <category><![CDATA[nosql]]></category>
            <category><![CDATA[mongodb]]></category>
            <category><![CDATA[non-relational-database]]></category>
            <category><![CDATA[mongodb-features]]></category>
            <dc:creator><![CDATA[Buddhika Ramanayake]]></dc:creator>
            <pubDate>Sat, 08 Jul 2023 08:17:46 GMT</pubDate>
            <atom:updated>2023-07-08T08:19:24.491Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>What you need to know about MongoDB Atlas ?</strong></h3><p>MongoDB Atlas is a fully managed cloud database service provided by MongoDB. It is designed to simplify the deployment, management, and scaling of MongoDB databases in the cloud. With MongoDB Atlas, you can leverage the power of MongoDB without having to worry about the operational complexities of managing database infrastructure.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*FnpMFXV5e42BABQU5YYZNQ.png" /><figcaption>MongoDB Login Page</figcaption></figure><p><strong>Key features and benefits of MongoDB Atlas include:</strong></p><ol><li>Fully Managed: MongoDB Atlas handles database administration tasks such as hardware provisioning, software patching, setup, configuration, backups, and monitoring. This allows you to focus on developing your applications instead of managing database infrastructure.</li><li>Scalability: MongoDB Atlas allows you to scale your databases easily as your application grows. You can add or remove replica set members, shard clusters, or even change the instance size to meet your application’s changing needs.</li><li>High Availability: MongoDB Atlas provides built-in high availability and fault tolerance. It replicates your data across multiple nodes within a cluster and automatically handles failover in case of hardware or network failures, ensuring your data is always available.</li><li>Security: MongoDB Atlas implements various security measures to protect your data. It offers network isolation with VPC peering, encryption at rest with customer-managed keys, encryption in transit with SSL/TLS, and authentication and access control mechanisms to secure your databases.</li><li>Backup and Restore: MongoDB Atlas includes automated backups and point-in-time recovery. It allows you to schedule backups, retain snapshots for a configurable period, and restore data to any specific point in time within that retention window.</li><li>Monitoring and Alerting: MongoDB Atlas provides built-in monitoring capabilities to track database performance and usage. It offers detailed metrics, visual dashboards, and configurable alerts to help you identify and troubleshoot issues proactively.</li><li>Integration with Cloud Services: MongoDB Atlas integrates with other cloud services like AWS, Azure, and Google Cloud Platform. It allows you to deploy databases in your preferred cloud provider’s infrastructure and leverage additional services for your application stack.</li></ol><p>MongoDB Atlas offers a user-friendly web-based interface to manage your databases and clusters. It provides an intuitive dashboard where you can create, configure, monitor, and scale your MongoDB deployments with ease.</p><p><strong><em>What is the difference between MongoDB and MongoDB Atlas?</em></strong></p><p>MongoDB is a cross-platform, non-relational database. MongoDB Atlas is a cloud-hosted Database-as-a-Service (DBaaS) that allows you to have the power of MongoDB without worrying about servers and network infrastructure.</p><p><strong>Now let’s look at what the interface looks like,</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*s6pIA7I9FVpScW1oKVqyKg.png" /><figcaption>Database Deployments</figcaption></figure><p><strong>Create and Connect to Database Deployments</strong></p><p>Create database deployments in Atlas to easily store and manage your data. After you create a database deployment, connect to the database deployment from your preferred connection method.</p><p>Create and connect to a database deployment with the following steps:</p><blockquote>Choose a database deployment type.</blockquote><p>Compare use cases and feature support to select the best database deployment type for you. MongoDB Atlas can deploy two types of cloud databases: <a href="https://www.mongodb.com/docs/atlas/tutorial/create-serverless-instance/">s<strong>erverless instances</strong></a> and <a href="https://www.mongodb.com/docs/atlas/tutorial/create-new-cluster/"><strong>clusters</strong></a>. You can use both clusters and serverless instances in the same Atlas project.</p><blockquote>Create the database deployment.</blockquote><p>Create a cluster, serverless instance, or global cluster based on your choice of database deployment.</p><blockquote>Connect to the database deployment.</blockquote><p><a href="https://www.mongodb.com/docs/atlas/connect-to-database-deployment/#std-label-connect-to-database-deployment"><strong>Connect to your database deployment</strong></a><strong>. You can:</strong></p><ol><li><a href="https://www.mongodb.com/docs/atlas/atlas-ui/">Browse Data via the Atlas UI.</a></li><li><a href="https://www.mongodb.com/docs/atlas/driver-connection/">Connect via Your Application.</a></li><li><a href="https://www.mongodb.com/docs/atlas/compass-connection/">Connect via Compass.</a></li><li><a href="https://www.mongodb.com/docs/atlas/mongo-shell-connection/">Connect via mongosh.</a></li><li><a href="https://www.mongodb.com/docs/atlas/bi-connection/">Connect via BI Connector for Atlas.</a></li></ol><p>Now let’s look at a sample example of connecting,</p><ol><li>First of all, create a project and give it a name.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yk2Cu4p5Ic6MwrRFkFaz9g.png" /></figure><p>2. Then you can add other members and set permissions in this window. After creating the project you will be redirected to the Project window.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QPeTAenfTToXJeTRoLTfAg.png" /></figure><p>3. Go to the <strong>Network Access </strong>under the SECURITY section;</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pjPs2g2GrFciG0vzVRcyMw.png" /></figure><p>4. Click on Add an IP address then you will get this window,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*l1KvY6PxK7_OhZdPAMlKBA.png" /></figure><p>5. Then you need to know the current IP Address that you use. This can be found when you type my IP Address on Google. After entering the comment confirm the entry.</p><p>After that, you need to select the <strong>Database </strong>under the DEPLOYMENT.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*x5pZlFLEKoyyyX0UMMAIPg.png" /></figure><p>6. Go ahead and click on <strong>Connect </strong>here.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*j3ljDniX4n3UoiEoNL1qZw.png" /></figure><p>7. Then the below box will pop up, here you need to create a database user by adding a Username and Password. You’ll need your database user’s credentials in the next step. Thereby make sure to remember the credentials.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cglW1b2lRc9Akg_MjGiuYQ.png" /></figure><p>8. From this window click on <strong>Compas</strong>s as we need to connect via Compass.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1013/1*nTbngmOAF44gUMwLZK7SJw.png" /></figure><p>9. Copy the connection string, then open MongoDB Compass. Replace <strong>&lt;password&gt;</strong> with the password for the <strong>Username </strong>of<strong> </strong>the user.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1016/1*9DNI4WiBbcatlueZ1UEC-Q.png" /></figure><p>10. You will see this window on <strong>MongoDB Compass </strong>initially. Now all you have to do is paste the connection string replacing the &lt;password&gt; with your password provided initially.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Vg8RLjA_h9bTsFMIIEUu_w.png" /></figure><p>11. All done, you have successfully connected the <strong>Cluster </strong>if you see this window next.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fz5hT5DRV9DRvt23Izs41A.png" /></figure><h3><strong>Features of MongoDB Atlas</strong></h3><ol><li><strong>Data Lake</strong></li></ol><p>In MongoDB, a Data Lake refers to a storage architecture that allows you to store and analyze large volumes of diverse data in its native format. It is a concept that combines the flexibility and scalability of MongoDB with the ability to handle unstructured or semi-structured data. Traditionally, data lakes have been associated with Hadoop-based systems like Apache Hadoop and Apache Spark. However, with the introduction of the MongoDB Connector for BI and the ability of MongoDB to handle a variety of data types, MongoDB can also serve as a data lake for storing and analyzing data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/281/1*VLKpuMPsJpJeDEg_hBoovg.png" /></figure><p>2. <strong>Triggers</strong></p><p>MongoDB Triggers are a piece of code that lets you execute server-side logic after the occurrence of a database event, for example, when data is added, updated, or removed. You can use database triggers to create complex data interactions. Triggers can update information after the occurrence of related data changes or interact with services after the insertion of new data. For example, it can trigger the update of a user profile information once the user’s profile picture is replaced or trigger an email notification once a new calendar entry is made.</p><p>MongoDB Triggers help users in the following ways:</p><ul><li><strong>Auditing:</strong> Triggers can help you to identify the user who made particular changes to a document.</li><li><strong>Data Consistency: </strong>MongoDB users can use triggers to ensure that data being entered into the database meets a defined consistent format. For example, to ensure the State field in a database is in UPPERCASE.</li><li><strong>Data Integrity: </strong>MongoDB Triggers can help you to add conditional logic to make sure that some fields have a valid combination of data. For example to ensure that Begin Date for an order record is before the End Date for the same order.</li><li><strong>Data Events: </strong>MongoDB Triggers can be added as part of a series of events to happen to a certain collection, for example, a report to be generated after a certain amount of data is added or a notification to be sent after a certain percentage of users have joined a game.</li></ul><p>3. <strong>Data API</strong></p><p>The MongoDB Data API can be used to query and update data in a MongoDB database without the need for language specific drivers.</p><p>Language drivers should be used when possible, but the MongoDB Data API comes in handy when drivers are not available or drivers are overkill for the application.</p><h4>Read &amp; Write with the MongoDB Data API</h4><p>The <a href="https://www.mongodb.com/docs/atlas/api/data-api/"><strong>MongoDB Data API</strong></a> is a pre-configured set of HTTPS endpoints that can be used to read and write data to a MongoDB Atlas database.</p><p>With the MongoDB Data API, you can create, read, update, delete, or aggregate documents in a MongoDB Atlas database.</p><p>4. <strong>Data Federation</strong></p><p>Atlas Data Federation is a distributed query engine that allows you to natively query, transform, and move data across various sources inside &amp; outside of MongoDB Atlas.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*gWh5mpomI32bjFpaiVDJQg.png" /></figure><p>5. <strong>Search</strong></p><p>MongoDB’s Atlas Search allows fine-grained text indexing and querying of data on your Atlas cluster. It enables advanced search functionality for your applications without any additional management or separate search system alongside your database. Atlas Search provides options for several kinds of text analyzers, a rich query language that uses Atlas Search aggregation pipeline stages like $search and $searchMeta in conjunction with other MongoDB aggregation pipeline stages, and score-based results ranking.</p><p>6. <strong>Stream Processing</strong></p><p>Atlas Stream Processing enables processing high-velocity streams of complex data with a few unique advantages for the developer experience:</p><p>It’s built on the document model, allowing for flexibility when dealing with the nested and complex data structures common in event streams. This alleviates the need for pre-processing steps while allowing developers to work naturally and easily with data that has complex structures. Just as the database allows.</p><p>It unifies the experience of working across all data, offering a single platform — across API, query language, and tools — to process rich, complex streaming data alongside the critical application data in your database.</p><p>And it’s fully managed in MongoDB Atlas building on an already robust set of integrated services. With just a few API calls and lines of code, you can stand up a stream processor, database, and API serving layer across any of the major cloud providers.</p><h4>How does Atlas Stream Processing work?</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Lm6uDVc_SQsP3gnhR6fH1g.jpeg" /></figure><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FvAbTxzlQKyM%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DvAbTxzlQKyM&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FvAbTxzlQKyM%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/ee984902f37fc17014e7bc8d6199672d/href">https://medium.com/media/ee984902f37fc17014e7bc8d6199672d/href</a></iframe><blockquote>Watch the MongoDB .local NYC Keynote to see Atlas Stream Processing announced by our Chief Product Officer</blockquote><p>7. <strong>Backup</strong></p><p>When deploying MongoDB in production, you should have a strategy for capturing and restoring backups in the case of data loss events.</p><p>MongoDB Atlas, the hosted MongoDB service option in the cloud, offers two fully-managed methods for backups:</p><p>Cloud Backups - which utilize the native snapshot functionality of the deployment’s cloud service provider to offer robust backup options.</p><p>Legacy Backups - <em>(Deprecated)</em>, which take incremental backups of data in your deployment.</p><p>8. <strong>Database Access</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*upq-RonCcRszxwHsORF_wQ.png" /></figure><p>In here you can add new database users with restricted access, custom roles etc.</p><p>9. <strong>Network Access</strong></p><p>An IP is a unique numeric identifier for a device connecting to a network. In Atlas, you can only connect to a cluster from a trusted IP address. Within Atlas, you can create a list of trusted IP addresses, referred to as a IP access list, that can be used to connect to your cluster and access your data.</p><p>You must add your IP address to the IP access list before you can connect to your cluster.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*quWzdjVqjQHi9II2kOivvA.png" /></figure><p>10 <strong>Advanced - </strong>Configure additional settings.</p><p>These features make MongoDB Atlas a powerful and user-friendly platform for managing MongoDB databases in the cloud, providing developers with scalability, reliability, security, and ease of use.</p><p>Overall, MongoDB Atlas offers a robust, scalable, and secure cloud database solution that simplifies the management of MongoDB databases, allowing developers to focus on building innovative applications.</p><p>This article is written by me with an inspiring journey guided by my lecturer Mr. <a href="https://medium.com/u/3f021514b269">Chameera De Silva</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b4743727e7f1" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>