- Sign into AWS
- Open EC2
- Click Instances on Left Side
- Click "Launch Instance"
- Select "Amazon Linux AMI 2016.09.1 (HVM), SSD Volume Type"
- Select Free Tier
- Click review and launch
- Press Launch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| Route::get('/', 'WelcomeController@index'); | |
| Route::resource('images', 'WelcomeController', ['only' => ['store', 'destroy']]); | |
| Route::get('/articles/{article}', 'ArticlesController@show')->name('articles.show'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| namespace App; | |
| use Illuminate\Database\Eloquent\Model; | |
| class Purchases extends Model | |
| { | |
| protected $table = 'purchases'; | |
- Open the Amazon Route 53 console at https://console.aws.amazon.com/route53/.
- If you are new to Amazon Route 53, you see a welcome page; choose Get Started Now for DNS Management. Otherwise, choose Hosted Zones in the navigation pane.
- Choose Create Hosted Zone.
- For Domain Name, type your domain name.
- Choose Create.
- Click the Hosted Zone, edit record set.
- In the value, add
ec2-54-152-134-146.compute-1.amazonaws.com. - Change your DNS file to point to the IPv4 address (This would be in something like GoDaddy).
NewerOlder