Menu Close

[vc_row][vc_column][vc_single_image image=”7386″ img_size=”medium” alignment=”center”][/vc_column][/vc_row][vc_row bg_type=”bg_color” bg_override=”ex-full” bg_color_value=”#ffffff”][vc_column width=”1/6″][/vc_column][vc_column width=”2/3″][vc_custom_heading text=”Main considerations:” font_container=”tag:h3|text_align:left|color:%232db2ff” use_theme_fonts=”yes”][ultimate_spacer height=”10″ height_on_tabs=”10″ height_on_tabs_portrait=”10″ height_on_mob_landscape=”10″ height_on_mob=”10″][vc_column_text]

  • Ideally the user should have basic skills on Amazon Elastic Container Service (ECS).
  • The files “metadata” and “data” represent a scenario of 50 products sales, with a daily frequency and integer data type.
  • The output for this example is a csv file with the forecast for 5 days for each one of the series.
  • The data provided by the user must keep the format of the data and metadata files.
  • The elapsed time for the forecast delivery are variable, but it is estimated up to 40 minutes with the recommended settings in the following instructions.

[/vc_column_text][/vc_column][vc_column width=”1/6″][/vc_column][/vc_row][vc_row bg_type=”bg_color” bg_override=”ex-full” bg_color_value=”#ffffff”][vc_column][vc_column_text]

[/vc_column_text][/vc_column][/vc_row][vc_row bg_type=”bg_color” bg_override=”ex-full” bg_color_value=”#f4f4f4″][vc_column width=”1/6″][/vc_column][vc_column width=”2/3″][vc_custom_heading text=”How can you use it?” font_container=”tag:h3|text_align:left|color:%232db2ff” use_theme_fonts=”yes”][vc_column_text]Next you will find the steps to follow in AWS for the correct use of the product:

1. Get the access_key and secret_key associated to the AWS account. If you already have them, follow step 2. Otherwise, go to “My Security Credentials”[/vc_column_text][vc_single_image image=”7514″ img_size=”full” alignment=”center”][/vc_column][vc_column width=”1/6″][/vc_column][/vc_row][vc_row][vc_column width=”1/6″][/vc_column][vc_column width=”2/3″][vc_column_text]and create a new access_key, where a new secret_key will be generated[/vc_column_text][vc_single_image image=”7515″ img_size=”full” alignment=”center”][/vc_column][vc_column width=”1/6″][/vc_column][/vc_row][vc_row bg_type=”bg_color” bg_override=”ex-full” bg_color_value=”#f4f4f4″][vc_column width=”1/6″][/vc_column][vc_column width=”2/3″][vc_column_text]2. In S3 create a bucket with a specific name (it is recommended to use the company name – DNI) and upload to it the data and metadata files.

3. Go to Amazon ECS and click on “Gest Started”[/vc_column_text][vc_single_image image=”7522″ img_size=”full” alignment=”center”][/vc_column][vc_column width=”1/6″][/vc_column][/vc_row][vc_row][vc_column width=”1/6″][/vc_column][vc_column width=”2/3″][vc_column_text]Click on “Configure” to define a container[/vc_column_text][vc_single_image image=”7517″ img_size=”full” alignment=”center”][/vc_column][vc_column width=”1/6″][/vc_column][/vc_row][vc_row bg_type=”bg_color” bg_override=”ex-full” bg_color_value=”#f4f4f4″][vc_column width=”1/6″][/vc_column][vc_column width=”2/3″][vc_column_text]Then name the container, enter the address of the image-container and add the parameter memory limits to 512. You must delete the port mappings (click on the blue cross).[/vc_column_text][vc_single_image image=”7518″ img_size=”full” alignment=”center”][/vc_column][vc_column width=”1/6″][/vc_column][/vc_row][vc_row][vc_column width=”1/6″][/vc_column][vc_column width=”2/3″][vc_column_text]Then click on “Advanced container configuration”, in Environment Variables, add these 3 variables:

  • access
  • secret
  • bucket

Then check “value” to enter in “key” the following information:

  • access = enter access_key
  • secret = secret_key
  • bucket = the name of the bucket created in step 2

[/vc_column_text][vc_single_image image=”7519″ img_size=”full” alignment=”center”][/vc_column][vc_column width=”1/6″][/vc_column][/vc_row][vc_row bg_type=”bg_color” bg_override=”ex-full” bg_color_value=”#f4f4f4″][vc_column width=”1/6″][/vc_column][vc_column width=”2/3″][vc_column_text]Then click on “Update”

4. Click on “Edit” to edit the task parameters.[/vc_column_text][vc_single_image image=”7520″ img_size=”full” alignment=”center”][/vc_column][vc_column width=”1/6″][/vc_column][/vc_row][vc_row][vc_column width=”1/6″][/vc_column][vc_column width=”2/3″][vc_column_text]5. In the memory configuration add the following parameters:[/vc_column_text][vc_single_image image=”7521″ img_size=”full” alignment=”center”][vc_column_text]Then “Save” and “Next” until you get to the “cluster name” option, where a random name will be assigned. Finally “Next” and “Create”.

6. With this the product will be executed, the forecast outputs will get to the bucket created, generating a folder named “output_forecast” with the forecast files.

7. To return to the product you only need to update the task, by clicking on “Update”, then on “Skip review” and finally in “Update service” (no other parameter must be changed). Before this you must change the data in the bucket, so the forecast engine recognizes the new inputs.[/vc_column_text][/vc_column][vc_column width=”1/6″][/vc_column][/vc_row]

Write us!

Close Bitnami banner
Bitnami