aboutsummaryrefslogtreecommitdiffstats
path: root/docs/report/introduction/methodology_aws/aws_ami.rst
blob: 0eebdf9d9c66603aad10d0546c6eeb47482e6790 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
Amazon Machine Images
---------------------

An :abbr:`AMI (Amazon Machine Image)` provides the information required to
launch an instance. CSIT is using Amazon :abbr:`EBS (Elastic Block Store)` where
the root device for an instance launched from the AMI is a volume created from
an Amazon EBS snapshot.

A the TG and SUT instances have slightly different software requirements,
we are defining two AMIs for TG and SUT separately. AMI details examples:

TG:
- AMI Name: csit_c5n_ubuntu_focal_tg
- Platform details: Linux/UNIX
- Architecture: x86_64
- Usage operation: RunInstances
- Image Type: machine
- Virtualization type: hvm
- Description: CSIT TG image based on Ubuntu Focal
- Root Device Name: /dev/sda1
- Root Device Type: ebs

SUT:
- AMI Name: csit_c5n_ubuntu_focal_sut
- Platform details: Linux/UNIX
- Architecture: x86_64
- Usage operation: RunInstances
- Image Type: machine
- Virtualization type: hvm
- Description: CSIT SUT image based on Ubuntu Focal
- Root Device Name: /dev/sda1
- Root Device Type: ebs

Both TG and SUT AMIs are created manually before launching topology and are not
part of automated scripts. To create CSIT AMIs:

::

  cd csit/fdio.infra.packer/aws_c5n/
  packer init
  packer build

Building AMIs requires Hashicorp Packer with Amazon plugin installed.

.. [aws_ami] `Amazon Machine Images <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/AMIs.html>`_