You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To deploy MongoDB on `Amazon EC2 <http://aws.amazon.com/ec2/>`_, you
16
16
can either:
17
17
18
-
* :ref:`Set up a new instance manually <deploy-mongodb-ec2>`, or
18
+
- Use `MongoDB Atlas <https://www.mongodb.com/cloud/atlas?jmp=docs>`_, or
19
19
20
-
* Use MongoDB Atlas.
21
-
20
+
- :ref:`Set up a new instance manually install MongoDB <deploy-mongodb-ec2>`.
22
21
23
-
MongoDB Atlas and EC2
24
-
---------------------
22
+
Deploy MongoDB on EC2 with MongoDB Atlas
23
+
----------------------------------------
25
24
26
-
`MongoDB Atlas <https://www.mongodb.com/cloud/atlas?jmp=docs>`_ is a hosted
25
+
`MongoDB Atlas`_ is a hosted
27
26
database as a service from the team that engineers the database. Atlas
28
27
deploys MongoDB on AWS EC2 instances. The MongoDB Atlas GUI allows you:
29
28
@@ -40,10 +39,21 @@ deploys MongoDB on AWS EC2 instances. The MongoDB Atlas GUI allows you:
40
39
.. image:: /figures/ec2-atlas.png
41
40
:width: 697px
42
41
42
+
.. _deploy-mongodb-ec2:
43
+
44
+
Manually Deploy MongoDB on EC2
45
+
------------------------------
46
+
47
+
.. admonition:: Installation
48
+
:class: Warning
49
+
50
+
To install MongoDB on Amazon Linux, refer to the :manual:`installation
51
+
instructions in the MongoDB manual </tutorial/install-mongodb-on-amazon>`.
52
+
43
53
.. _storage-considerations:
44
54
45
55
Storage Considerations
46
-
----------------------
56
+
~~~~~~~~~~~~~~~~~~~~~~
47
57
48
58
EC2 instances can be configured with either ephemeral storage or
49
59
persistent storage using the Elastic Block Store (EBS). Ephemeral
@@ -76,174 +86,14 @@ performance, it also provides limited availability and can lead to
76
86
reduced performance on read operations, particularly when using
77
87
Amazon’s EBS volumes.
78
88
79
-
.. _deploy-mongodb-ec2:
80
-
81
-
Manually Deploy MongoDB on EC2
82
-
------------------------------
83
-
84
-
The following steps can be used to deploy MongoDB on EC2 yourself. The
85
-
instances will be configured with the following characteristics:
86
-
87
-
* Amazon Linux
88
-
* MongoDB installed via ``yum``
89
-
* Individual PIOPS EBS volumes for data (1000 IOPS), journal (250 IOPS),
90
-
and log (100 IOPS)
91
-
* Updated read-ahead values for each block device
92
-
* Update ulimit settings
93
-
94
-
Before continuing be sure to have the following:
95
-
96
-
* Install `EC2 command line tools <http://aws.amazon.com/developertools/351>`_
97
-
* `Generate an EC2 key pair <http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/generating-a-keypair.html>`_ for connecting to the instance via SSH
98
-
* `Create a security group <http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-network-security.html#creating-security-group>`_ that allows SSH connections
99
-
100
-
Create the instance using the key pair and security group previously
101
-
created and also include the :setting:`--ebs-optimized` flag and
102
-
specify individual PIOPS EBS volumes (:file:`/dev/xvdf` for data,
103
-
:file:`/dev/xvdg` for journal, :file:`/dev/xvdh` for log). Refer to the
0 commit comments