May I know what is the issue prompting the below error in Amazon Linux AMI 2016.09.1 (HVM), SSD Volume Type - ami-0b33d91d
[root@ip-172-31-66-155 Delphix_Demo]# ./terraform applydata.aws_ami.ls_ami: Refreshing state...data.aws_ami.lt_ami: Refreshing state...data.aws_ami.de_ami: Refreshing state...Error refreshing state: 3 error(s) occurred:
* data.aws_ami.lt_ami: 1 error(s) occurred:
* data.aws_ami.lt_ami: data.aws_ami.lt_ami: Your query returned no results. Please change your search criteria and try again.* data.aws_ami.de_ami: 1 error(s) occurred:
* data.aws_ami.de_ami: data.aws_ami.de_ami: Your query returned no results. Please change your search criteria and try again.* data.aws_ami.ls_ami: 1 error(s) occurred:
* data.aws_ami.ls_ami: data.aws_ami.ls_ami: Your query returned no results. Please change your search criteria and try again.
Thanks Adam, I have shared the AMI with AWS account. Now I am able to run "./terraform apply" but I am getting the following error.
May I know what causes the below issue:
aws_instance.lt (remote-exec): Connecting to remote host via SSH...aws_instance.lt (remote-exec): Host: 188.8.131.52aws_instance.lt (remote-exec): User: centosaws_instance.lt (remote-exec): Password: falseaws_instance.lt (remote-exec): Private key: trueaws_instance.lt (remote-exec): SSH Agent: falseaws_instance.lt: Still creating... (10m10s elapsed)aws_instance.lt: Still creating... (10m20s elapsed)Error applying plan:
2 error(s) occurred:
* aws_instance.ls: 1 error(s) occurred:
* timeout* aws_instance.lt: 1 error(s) occurred:
Adams, as you said I am on a corporate network and I changed the network policy allows outbound to accept all traffic and protocol to "ALL", Port range 0-65535, Destination to "anywhere" and one more rule with destination as "My IP".
Adams, I understand the network policy which you are trying to say,
Now I am able to run command "./Terraform apply". Instance was creating almost for one and half hours. and I got the following output:
aws_instance.lt: Still creating... (1h37m13s elapsed)aws_instance.lt: Still creating... (1h37m23s elapsed)^CInterrupt received. Gracefully shutting down...Interrupt received. Gracefully shutting down...
Apply complete! Resources: 7 added, 0 changed, 0 destroyed.
The state of your infrastructure has been saved to the pathbelow. This state is required to modify and destroy yourinfrastructure, so keep it safe. To inspect the complete stateuse the 'terraform show' command.
DE = [ Delphix Engine - Public IP: 184.108.40.206 Private IP: 10.0.1.10 Access via http://220.127.116.11 Username: delphix_admin Password: landshark]LS = [ Linux Source - Public IP: 18.104.22.168 Private IP: 10.0.1.20 Access via SSH @22.214.171.124 Username: delphix Password: delphix Prod Employee App: http://126.96.36.199:1080]LT = [ Linux Target - Public IP: 188.8.131.52 Private IP: 10.0.1.30 Access via SSH @184.108.40.206 Username: delphix Password: delphix Dev Employee App: http://220.127.116.11:2080 QA Employee App: http://18.104.22.168:3080][ec2-user@ip-172-31-3-30 Delphix_Demo]$
I see that the apply is complete. To launch the Delphix engine we have to access via the ip of the first output (http://22.214.171.124). How do I launch inside a Linux instance and how do I access the URL of Delphix engine inside a Linux instance in which I ran "./terraform apply"
I ran "./terraform destroy" and again ran "./terraform apply" :
Instance is creating for long time and it is taking more than 30 min as you can see in the below screen shot, may I know why it is taking long time. The max I saw was one hour 39 min and still its creating.
aws_instance.lt: Still creating... (48m36s elapsed)aws_instance.lt: Still creating... (48m46s elapsed)aws_instance.lt: Still creating... (48m56s elapsed)aws_instance.lt: Still creating... (49m6s elapsed)
Im using main.tf original file only...only thing I changed in main.tf file is "instance_type=t2.micro" for LS,LT and DE
Nothing else is modified in main.tf file after downloading from Free trial page.
the reason why I changed the instance type as "t2.micro" in AWS is , only micro instance is free in AWS ...in main.tf file instance type is "m4.large" which will cost more in AWS.
So there is no option to set it in AWS for free right?