Terraform - Can't install “aws linux ami” using t2.micro instance typeHow to safely upgrade an Amazon EC2 instance from t1.micro to large?How do I access EC2 Instance Storage from Amazon Linux?How to launch a large ec2 instance with ebs ami?ec2 instace type: ami-e0efab88 has python installed but don't recognize it while installing libxml2-2.9.4Create EC2 instance with Boto3Simplest way to convert amazon-linux instance from PV to HVMAnsible - EC2 Create-Install-AMI-CopyAMIInstall docker-volume-netshare on Linux AMIHow to launch an AMI instance copied from another region?How to have snapshot-created AWS ami be able to start on same instance type

Why would anyone ever invest in a cash-only etf?

Why does Canada require mandatory bilingualism in a lot of federal government posts?

How do I use JSON.generator to generate an unnamed array?

How did the SysRq key get onto modern keyboards if it's rarely used?

What do you call a flexible diving platform?

Why do they sell Cat 5 Ethernet splitters if you can’t split the signal?

Why did Windows 95 crash the whole system but newer Windows only crashed programs?

Must a song using the A minor scale begin or end with an Am chord? If not, how can I tell what the scale is?

How can I kill my goat?

Copying an existing HTML page and use it, is that against any copyright law?

What is this 4 sharp symbol and what does it mean?

Dual-national, returning to US the day the US Passport expires; can he check in with airline on Dutch passport but reenter with expiring US passport?

reconstruction filter - How does it actually work?

Why force the nose of 737 Max down in the first place?

Why does the Eurostar not show youth pricing?

Did the Americans trade destroyers in the "destroyer deal" that they would later need themselves?

Exploiting the delay when a festival ticket is scanned

Why is it considered acid rain with pH <5.6?

How can religions be structured in ways that allow inter-faith councils to work?

Mechanics of Horizontal Stretching and Shrinking

How can I say in Russian "I am not afraid to write anything"?

How did the Sinclair compare on price with the C64 in the UK?

What do I do with a party that is much stronger than their level?

What language is Raven using for her attack in the new 52?



Terraform - Can't install “aws linux ami” using t2.micro instance type


How to safely upgrade an Amazon EC2 instance from t1.micro to large?How do I access EC2 Instance Storage from Amazon Linux?How to launch a large ec2 instance with ebs ami?ec2 instace type: ami-e0efab88 has python installed but don't recognize it while installing libxml2-2.9.4Create EC2 instance with Boto3Simplest way to convert amazon-linux instance from PV to HVMAnsible - EC2 Create-Install-AMI-CopyAMIInstall docker-volume-netshare on Linux AMIHow to launch an AMI instance copied from another region?How to have snapshot-created AWS ami be able to start on same instance type






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















I'm trying to install "aws linux ami" ami from North Virginia, using instance type of t2.micro, but I can't find ami for "aws linux ami" of virtualization type of "hvm" (I find only of type pv). Is there no way to install "aws linux ami" of type t2?



I ran the following tf:



provider "aws" 
access_key = "AKIAJHBBU5KDBVL26TBA"
secret_key = "E3L4+tuTxQKdf+iD3wbWHg6FsHxB+9169ZT7Q4NL"
region = "us-east-1"


resource "aws_instance" "example"
ami = "ami-2d387344"
instance_type = "t2.micro"



* This is the only ami I find for "aws linux ami" in N. Virginia, but its "Virtualization type: paravirtual" so I get the following errors:



 aws_instance.example: Error launching source instance: InvalidParameterCombination: Virtualization type 'hvm' is required for instances of type 't2.micro'.


Only when I use t1.micro, it works.



I'm very new with AWS, am I missing something, or there is really no way to run "aws linux ami" of type t2?










share|improve this question






























    0















    I'm trying to install "aws linux ami" ami from North Virginia, using instance type of t2.micro, but I can't find ami for "aws linux ami" of virtualization type of "hvm" (I find only of type pv). Is there no way to install "aws linux ami" of type t2?



    I ran the following tf:



    provider "aws" 
    access_key = "AKIAJHBBU5KDBVL26TBA"
    secret_key = "E3L4+tuTxQKdf+iD3wbWHg6FsHxB+9169ZT7Q4NL"
    region = "us-east-1"


    resource "aws_instance" "example"
    ami = "ami-2d387344"
    instance_type = "t2.micro"



    * This is the only ami I find for "aws linux ami" in N. Virginia, but its "Virtualization type: paravirtual" so I get the following errors:



     aws_instance.example: Error launching source instance: InvalidParameterCombination: Virtualization type 'hvm' is required for instances of type 't2.micro'.


    Only when I use t1.micro, it works.



    I'm very new with AWS, am I missing something, or there is really no way to run "aws linux ami" of type t2?










    share|improve this question


























      0












      0








      0








      I'm trying to install "aws linux ami" ami from North Virginia, using instance type of t2.micro, but I can't find ami for "aws linux ami" of virtualization type of "hvm" (I find only of type pv). Is there no way to install "aws linux ami" of type t2?



      I ran the following tf:



      provider "aws" 
      access_key = "AKIAJHBBU5KDBVL26TBA"
      secret_key = "E3L4+tuTxQKdf+iD3wbWHg6FsHxB+9169ZT7Q4NL"
      region = "us-east-1"


      resource "aws_instance" "example"
      ami = "ami-2d387344"
      instance_type = "t2.micro"



      * This is the only ami I find for "aws linux ami" in N. Virginia, but its "Virtualization type: paravirtual" so I get the following errors:



       aws_instance.example: Error launching source instance: InvalidParameterCombination: Virtualization type 'hvm' is required for instances of type 't2.micro'.


      Only when I use t1.micro, it works.



      I'm very new with AWS, am I missing something, or there is really no way to run "aws linux ami" of type t2?










      share|improve this question














      I'm trying to install "aws linux ami" ami from North Virginia, using instance type of t2.micro, but I can't find ami for "aws linux ami" of virtualization type of "hvm" (I find only of type pv). Is there no way to install "aws linux ami" of type t2?



      I ran the following tf:



      provider "aws" 
      access_key = "AKIAJHBBU5KDBVL26TBA"
      secret_key = "E3L4+tuTxQKdf+iD3wbWHg6FsHxB+9169ZT7Q4NL"
      region = "us-east-1"


      resource "aws_instance" "example"
      ami = "ami-2d387344"
      instance_type = "t2.micro"



      * This is the only ami I find for "aws linux ami" in N. Virginia, but its "Virtualization type: paravirtual" so I get the following errors:



       aws_instance.example: Error launching source instance: InvalidParameterCombination: Virtualization type 'hvm' is required for instances of type 't2.micro'.


      Only when I use t1.micro, it works.



      I'm very new with AWS, am I missing something, or there is really no way to run "aws linux ami" of type t2?







      amazon-web-services amazon-ec2 ami






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 26 at 19:31









      pinokyopinokyo

      183 bronze badges




      183 bronze badges

























          1 Answer
          1






          active

          oldest

          votes


















          0














          You can search for the AMI ids using the AWS cli:



          aws ec2 --profile prof describe-images 
          --owners amazon
          --filters
          'Name=name,Values=amzn2-ami-hvm-2.0.????????-x86_64-gp2' 'Name=state,Values=available'
          --output json | jq -r '.Images | sort_by(.CreationDate) | last(.[]).ImageId'


          This returns:



          ami-09def150731bdbcc2



          For your use case pass in --region us-east-1 as well.






          share|improve this answer

























          • Really?! This looks over complicated way to get the image. P.s. I tried to use the ami-09def150731bdbcc2, but I got "the image id does not exist".

            – pinokyo
            Mar 26 at 20:27











          • You haven't read what I wrote: "For your use case pass in --region us-east-1 as well." Your image ID is: ami-0de53d8956e8dcf80

            – Istvan
            Mar 26 at 22:11










          Your Answer






          StackExchange.ifUsing("editor", function ()
          StackExchange.using("externalEditor", function ()
          StackExchange.using("snippets", function ()
          StackExchange.snippets.init();
          );
          );
          , "code-snippets");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "1"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55364962%2fterraform-cant-install-aws-linux-ami-using-t2-micro-instance-type%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0














          You can search for the AMI ids using the AWS cli:



          aws ec2 --profile prof describe-images 
          --owners amazon
          --filters
          'Name=name,Values=amzn2-ami-hvm-2.0.????????-x86_64-gp2' 'Name=state,Values=available'
          --output json | jq -r '.Images | sort_by(.CreationDate) | last(.[]).ImageId'


          This returns:



          ami-09def150731bdbcc2



          For your use case pass in --region us-east-1 as well.






          share|improve this answer

























          • Really?! This looks over complicated way to get the image. P.s. I tried to use the ami-09def150731bdbcc2, but I got "the image id does not exist".

            – pinokyo
            Mar 26 at 20:27











          • You haven't read what I wrote: "For your use case pass in --region us-east-1 as well." Your image ID is: ami-0de53d8956e8dcf80

            – Istvan
            Mar 26 at 22:11















          0














          You can search for the AMI ids using the AWS cli:



          aws ec2 --profile prof describe-images 
          --owners amazon
          --filters
          'Name=name,Values=amzn2-ami-hvm-2.0.????????-x86_64-gp2' 'Name=state,Values=available'
          --output json | jq -r '.Images | sort_by(.CreationDate) | last(.[]).ImageId'


          This returns:



          ami-09def150731bdbcc2



          For your use case pass in --region us-east-1 as well.






          share|improve this answer

























          • Really?! This looks over complicated way to get the image. P.s. I tried to use the ami-09def150731bdbcc2, but I got "the image id does not exist".

            – pinokyo
            Mar 26 at 20:27











          • You haven't read what I wrote: "For your use case pass in --region us-east-1 as well." Your image ID is: ami-0de53d8956e8dcf80

            – Istvan
            Mar 26 at 22:11













          0












          0








          0







          You can search for the AMI ids using the AWS cli:



          aws ec2 --profile prof describe-images 
          --owners amazon
          --filters
          'Name=name,Values=amzn2-ami-hvm-2.0.????????-x86_64-gp2' 'Name=state,Values=available'
          --output json | jq -r '.Images | sort_by(.CreationDate) | last(.[]).ImageId'


          This returns:



          ami-09def150731bdbcc2



          For your use case pass in --region us-east-1 as well.






          share|improve this answer













          You can search for the AMI ids using the AWS cli:



          aws ec2 --profile prof describe-images 
          --owners amazon
          --filters
          'Name=name,Values=amzn2-ami-hvm-2.0.????????-x86_64-gp2' 'Name=state,Values=available'
          --output json | jq -r '.Images | sort_by(.CreationDate) | last(.[]).ImageId'


          This returns:



          ami-09def150731bdbcc2



          For your use case pass in --region us-east-1 as well.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Mar 26 at 19:58









          IstvanIstvan

          3,3906 gold badges32 silver badges66 bronze badges




          3,3906 gold badges32 silver badges66 bronze badges















          • Really?! This looks over complicated way to get the image. P.s. I tried to use the ami-09def150731bdbcc2, but I got "the image id does not exist".

            – pinokyo
            Mar 26 at 20:27











          • You haven't read what I wrote: "For your use case pass in --region us-east-1 as well." Your image ID is: ami-0de53d8956e8dcf80

            – Istvan
            Mar 26 at 22:11

















          • Really?! This looks over complicated way to get the image. P.s. I tried to use the ami-09def150731bdbcc2, but I got "the image id does not exist".

            – pinokyo
            Mar 26 at 20:27











          • You haven't read what I wrote: "For your use case pass in --region us-east-1 as well." Your image ID is: ami-0de53d8956e8dcf80

            – Istvan
            Mar 26 at 22:11
















          Really?! This looks over complicated way to get the image. P.s. I tried to use the ami-09def150731bdbcc2, but I got "the image id does not exist".

          – pinokyo
          Mar 26 at 20:27





          Really?! This looks over complicated way to get the image. P.s. I tried to use the ami-09def150731bdbcc2, but I got "the image id does not exist".

          – pinokyo
          Mar 26 at 20:27













          You haven't read what I wrote: "For your use case pass in --region us-east-1 as well." Your image ID is: ami-0de53d8956e8dcf80

          – Istvan
          Mar 26 at 22:11





          You haven't read what I wrote: "For your use case pass in --region us-east-1 as well." Your image ID is: ami-0de53d8956e8dcf80

          – Istvan
          Mar 26 at 22:11








          Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.







          Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.



















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55364962%2fterraform-cant-install-aws-linux-ami-using-t2-micro-instance-type%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

          SQL error code 1064 with creating Laravel foreign keysForeign key constraints: When to use ON UPDATE and ON DELETEDropping column with foreign key Laravel error: General error: 1025 Error on renameLaravel SQL Can't create tableLaravel Migration foreign key errorLaravel php artisan migrate:refresh giving a syntax errorSQLSTATE[42S01]: Base table or view already exists or Base table or view already exists: 1050 Tableerror in migrating laravel file to xampp serverSyntax error or access violation: 1064:syntax to use near 'unsigned not null, modelName varchar(191) not null, title varchar(191) not nLaravel cannot create new table field in mysqlLaravel 5.7:Last migration creates table but is not registered in the migration table

          은진 송씨 목차 역사 본관 분파 인물 조선 왕실과의 인척 관계 집성촌 항렬자 인구 같이 보기 각주 둘러보기 메뉴은진 송씨세종실록 149권, 지리지 충청도 공주목 은진현