Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 13 Next »

Contents


General Prerequisites

As this description shows the basic setup of a Linux instance in AWS, it does not list specific prerequisites. However, depending on the use case, the following prerequisites should be considered:

  • To set up a Linux instance in AWS, you need an Amazon AWS account.
  • Secondly, prerequisites will be different depending on the planned use of the instance:
    • Option 1: the instance is to be used as a Charon emulator host system:
      • Refer to the hardware and software prerequisite sections of the User's Guide and/or Getting Started guide of your Charon product to determine the exact hardware and software prerequisites that must be fulfilled by the Linux instance. The image you use to launch your instance and the instance type you chose determine the software and hardware of your cloud instance.
      • A Charon product license is required to run emulated legacy systems. Contact your Stromasys representative or Stromasys VAR for details.
    • Option 2: the instance is to be used as a dedicated VE license server:
      • Refer to the VE License Server Guide for detailed prerequisites.
  • Certain legacy operating systems that can run in the emulated systems provided by Charon emulator products require a license of the original vendor of the operating system. The user is responsible for any licensing obligations related to the legacy operating system and has to provide the appropriate licenses.

AWS Login and New Instance Launch

Amazon EC2 provides a wide selection of instance types optimized to fit different use cases. Instances are virtual servers that can run applications such as a Charon emulator.

To start the creation of a new cloud instance, perform the following steps:

1. Log in to your AWS management console.

2. Find and select the EC2 service. You can use the All services drop-drop down or find it in the Recently visited services.

This will open the E2C dashboard.


Please note: The following sample image shows the new E2C dashboard. The old dashboard looks somewhat different, but still has the Launch instance button.


3. On the EC2 dashboard click on the Launch Instance button.

Clicking on Launch Instance will initiate the instance creation process consisting of seven steps:

  1. Choose AMI
  2. Choose Instance Type
  3. Configure Instance
  4. Add Storage
  5. Add Tags
  6. Configure Security Groups
  7. Depending on planned use, add data required for licensing
  8. Review, launch and select/create key-pair for access.

These steps are described in the next section.


New Instance Configuration

The instance creation and configuration process will guide you through a number of configuration steps and allow you to start the new instance when done.

1. Choose AMI:

AMIs are prepackaged images used to launch cloud instances. They usually include the operating system and applicable application software.

Which AMI you select depends on the planned use of the instance:

  • If the instance is to be used as a Charon emulator host system several AMI choices are possible:
    • Prepackaged Charon marketplace image: they contain the underlying operating system and the preinstalled Charon software.
      • Depending on the cloud provider and the Stromasys product release plans, they may be available in two variants:
        • Automatic licensing (AL) for use with a public, Stromasys-operated license server, or with a private, customer-operated AutoVE license server
        • Virtual environment (VE) for use with a private, customer-operated VE license server
    • Conventional Charon emulator installation using the Charon emulator installation RPM packages:
      • Choose a Linux AMI of a distribution supported by your selected Charon product and version (see the user's guide of your product).
  • Dedicated VE license server:
    • Please refer to the VE License Server Guide for the requirements of the Linux instance.

After deciding on which AMI is required, select a matching Linux or Charon product AMI in the Marketplace or (depending on your environment) from My AMIs.

Clicking on one of the categories above will display a list of images. Select the Linux AMI appropriate to your planned use of the instance, that is,

  • a prepackaged Charon VE marketplace image, or
  • a prepackaged Charon AL marketplace image for Automatic Licensing or AutoVE, or
  • a Linux version supported for an RPM product installation, or
  • a Linux version supported for the VE license server.

This will take you to the next step, the instance type selection.


2. Choose Instance Type:

Amazon EC2 offers instance types with varying combinations of CPU, memory, storage, and networking capacity.

Select an instance type that matches the requirements of the Charon product to be used. Please note that some marketplace images have a restricted selection of instance types.


When done, continue by clicking on the Next: Configure Instance button at the bottom of the page.


3. Configure Instance:

In this section, you can set up the details of your instance configuration. For example, you can select the following:

  • The VPC subnet your instance should be in.
  • Whether an interface should automatically be assigned a public IP address (only possible if a single network interface is selected for the instance).
  • If you selected a non-default subnet configuration, you can scroll down to the bottom of the page and assign additional Ethernet interfaces to the instance.
    Please note: automatic assignment of a public IP address only works if there is only one network interface attached to the instance.

Additional configuration for special licensing situations:

  • Additional configuration for a VE license server system:
    • For a VE license server system, you must assign the required IAM role (allowing the ListUsers action) to the instance (see marked field above). For more information see Creating and Attaching an AWS IAM Role.

  • Instance based on a Charon AL marketplace image and planned to be used for AutoVE licensing (instead of the public license servers):
    • You must add the corresponding information to the instance configuration before the first launch of the instance.
      Please note:
      • Should you use the SSP Amazon Linux AMI with SSP version 5.6.8 or higher as provided by the AWS Mainframe Modernization - Virtualization for SPARC service, the instance will by default connect to the public, Stromasys-operated AutoVE license servers (defined in /opt/charon-license-server ). You only need the user data definition for older versions or to override the default with your private AutoVE servers.
      • The example below shows the appearance of the AutoVE license server information that is entered as User Data in the Advanced Details configuration section at the bottom of the Launch an Instance window during the initial configuration of an instance. Scroll down to the bottom of the configuration window to open and display the user data section in the Advanced Details.
      • In the older GUI version, the Advanced Details section is part of the Configure Instance window - the layout is somewhat different, but the configuration options are the same.

       Enter the information for the AutoVE license server as shown in the example below (it shows the public AutoVE servers):

      Valid User Data configuration options:

      • primary_server=<ip-address>[:<port>]
      • backup_server=<ip-address>[:<port>]

      where

      • <ip-address> stands for the IP address of the primary and the backup server as applicable, and
      • <port> stands for a non-default TCP port used to communicate with the license server (default: TCP/8083).

      Please note: at least one license server must be configured at initial launch to enable AutoVE mode. This can be via the /opt/charon-license-server file with the default public servers (SSP 5.6.8 or higher) or via the manual user data configuration. Otherwise, the instance will bind to one of the public AL license servers operated by Stromasys.


Once you have selected all desired configuration options, click on Next: Add storage at the bottom of the page to continue.

4. Add Storage:

The size of the root volume (the system disk) must be appropriate for your environment (recommended minimum system disk size: 30GB). You can also add more storage later to provide space for virtual disk containers and other storage requirements.

Please note: It is recommended to create separate storage space (using AWS EBS volumes) for Charon application data (e.g., disk images). If required, such volumes can later easily be migrated to another instance (see Storage Management).


Once you are done, again click on the Next: Add tags button.


5. Add Tags:

Tags allow you to add information to your instance, for example, an easily remembered name as shown in the example below:

After adding tags as required, continue to the next step (Configure Security Groups).


6. Configure Security Groups:

A security group is similar to a firewall. It defines which traffic is allowed to flow to and from the instance. For your cloud instance, you must at least enable SSH access to the system. This will allow you to access the installed system and product specific management interfaces such as the Charon-SSP Manager, and to run Charon services via an SSH VPN tunnel. You can select an existing group or create a new one. If you create a new one, you can enter an name and an appropriate description. An example of a security group is shown below.

The warning shown alerts the user to the fact that the source IP addresses are not restricted, i.e., any system is allowed to use SSH to access the instance. Restrict the source address range if possible.

Once you have set up your security group, continue to the next step (Review and Launch).

7. Review:

Here you can review the configuration of your instance and edit the individual sections if required. The image below shows a sample:

If you are satisfied with the settings, click on the Launch button to start your instance for the first time.


8. Launch and select/create key-pair for access:

When starting the instance for the first time, you will be shown a window asking you to create a new key-pair or to use an existing one. When creating a new key-pair, you must download the private key to your local system and store it in a safe place. It is required to access your instance. The public key is stored in the newly created Linux cloud instance. When using a Charon-SSP marketplace image, the public key is stored in the authorized_keys file of the sshuser and the charon user. For other Linux images it is stored in the defined management user for the image. The sample below shows the window when the creation of a new key-pair was selected:

You cannot start the instance without downloading the key. If you select to re-use an existing key-pair, you must confirm that you are in possession of the private key before you can launch the instance.


Verify that instance is running:

After starting your instance for the first time, you will see it in the initializing state in the list of your AWS instances. It will take a bit of time to get to the running state. After this, important information, for example, the public IP address and public DNS name (marked in red) of the instance will also be displayed. The following image shows an example:

The following sections will show you how to access the instance and how to perform additional storage and network configurations.

Please note: if you select your instance, the bottom of the screen will show a detailed description and status information of your instance.

  • No labels