wiki/info/landscape/creating-ec2-image-from-scratch.md
... ...
@@ -23,6 +23,29 @@ I then did a `yum update` and added the following packages:
23 23
- xterm
24 24
- sendmail-cf
25 25
26
+In order to be able to connect to AWS DocumentDB instances, the corresponding certificate must be installed into the JVM's certificate store:
27
+
28
+```
29
+ wget -O /tmp/rds.pem https://s3.amazonaws.com/rds-downloads/rds-combined-ca-bundle.pem
30
+ /opt/sapjvm_8/bin/keytool -importcert -alias AWSRDS -file /tmp/rds.pem -keystore /opt/sapjvm_8/jre/lib/security/cacerts -noprompt -storepass changeit
31
+```
32
+
33
+A latest MongoDB shell is installed by the following:
34
+
35
+```
36
+cat << EOF >/etc/yum.repos.d/mongodb-org.3.6.repo
37
+[mongodb-org-3.6]
38
+name=MongoDB Repository
39
+baseurl=https://repo.mongodb.org/yum/amazon/2013.03/mongodb-org/3.6/x86_64/
40
+gpgcheck=1
41
+enabled=1
42
+gpgkey=https://www.mongodb.org/static/pgp/server-3.6.asc
43
+EOF
44
+
45
+yum update
46
+yum install mongodb-org-shell
47
+```
48
+
26 49
Then I created a mount point /home/sailing and copied the following lines from the /etc/fstab file from an existing SL instance:
27 50
28 51
```
... ...
@@ -52,7 +75,7 @@ PermitRootLogin Yes
52 75
53 76
to allow root shell login.
54 77
55
-I copied the JDK7/JDK8 installations from an existing SL instance to /opt.
78
+I copied the JDK7/JDK8 installations, particularly the current sapjvm_8 VM, from an existing SL instance to /opt.
56 79
57 80
I linked /etc/init.d/sailing to /home/sailing/code/configuration/sailing and added the following links to it:
58 81