Yii Framework Forum

How to access migration tool in AWS EB?


So I finally managed to get Yii2 loaded up and launched on EB in AWS. The framework is able to talk to the database as expected. The issue is, there’s nothing in the database (duh, I have put anything there yet).

How do I access the console/migration tool remotely? I have migrations written and ready to go, just need to access the console to activate them.

This is where my knowledge really falls short and I don’t see any guides/tutorials on this. I would really appreciate some guidance on this one, as I’m completely lost here.

Thank you in advance.

(Pawel) #2

By AWS EB2 you mean Elastic Beanstalk or EC2?


Elastic Beanstalk. My mistake.


Does anyone have any insight on this? Being able to use the migration tool is all that separates me from having a functional site.

(Pawel) #5

I have never used EB before but I googled this: https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/using-features.ec2connect.html

When you connect to EC2 you can get to console, right?