Free account, tried adding the "Elastic Stack". Apparently all was created OK, for every resource if you look in Application Log shows "Succeeded". In fact The installation fails and the error details are visible only in Resource Groups> [Group] > Deployments. Problem appears when installing Oracle Java 8 JDK to the Ubuntu VM, due to Oracle's process of requiring an acknowledgement which sets a cookie in your computer. The script goes through the 2 redirects, gets an AuthParam, but still fails with Error 404.
According to https://help.ubuntu.com/community/Java and some forums, the only way to install is to download sources and build it yourself. This makes the Azure Elastic Stack template useless. The problem appears to be known for some time. Is there any solution ?
If no solution, why is the package still available as an Azure resource Template, which allows to create up to 100 VMs, takes the money from your account, also consumes your time, then fails installing and still reports "succeeded" per each resource created ?
Here below the extract from the error details:
Downloading Oracle Java 8...--2018-07-18 09:35:35-- http://download.oracle.com/otn-pub/java/jdk/8u171-b11/512cd62ec5174c3487ac17c61aaa89e8/jdk-8u171-linux-x64.tar.gz
Resolving download.oracle.com (download.oracle.com)... 23.32.68.143
Connecting to download.oracle.com (download.oracle.com)|23.32.68.143|:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://edelivery.oracle.com/otn-pub/java/jdk/8u171-b11/512cd62ec5174c3487ac17c61aaa89e8/jdk-8u171-linux-x64.tar.gz [following]
--2018-07-18 09:35:35-- https://edelivery.oracle.com/otn-pub/java/jdk/8u171-b11/512cd62ec5174c3487ac17c61aaa89e8/jdk-8u171-linux-x64.tar.gz
Resolving edelivery.oracle.com (edelivery.oracle.com)... 23.2.236.150, 2a02:26f0:f4:38e::2d3e, 2a02:26f0:f4:390::2d3e
Connecting to edelivery.oracle.com (edelivery.oracle.com)|23.2.236.150|:443... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: http://download.oracle.com/otn-pub/java/jdk/8u171-b11/512cd62ec5174c3487ac17c61aaa89e8/jdk-8u171-linux-x64.tar.gz?AuthParam=1531906656_5f83a9614390517eb28e41d6635d52bf [following]
--2018-07-18 09:35:36-- http://download.oracle.com/otn-pub/java/jdk/8u171-b11/512cd62ec5174c3487ac17c61aaa89e8/jdk-8u171-linux-x64.tar.gz?AuthParam=1531906656_5f83a9614390517eb28e41d6635d52bf
Connecting to download.oracle.com (download.oracle.com)|23.32.68.143|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2018-07-18 09:35:36 ERROR 404: Not Found.
download failed
Oracle JDK 8 is NOT installed.