I created multiple REST api's for my website on a local server(wamp) and now i am trying to move it to a online server(aws elastic beanstalk). My question is where do i build my database with the tables and rows etc just like in phpmyadmin? I figured that "upload and deploy" means upload the php file i made but when i do i get an error saying "health degraded". So what i want to do is basically move my local server to an online one with aws EB. I watched a bunch of videos and did a lot of research but can't seem to find the way to go about this problem.
码龄 粉丝数 原力等级 --
- 被采纳
- 被点赞
- 采纳率
在弹性beanstalk AWS中部署应用程序
收起
- 写回答
- 好问题 0 提建议
- 关注问题
- 微信扫一扫点击复制链接分享
- 邀请回答
- 编辑 收藏 删除 结题
- 收藏 举报
1条回答 默认 最新
- 关注
码龄 粉丝数 原力等级 --
- 被采纳
- 被点赞
- 采纳率
douyueju2912 2017-10-13 23:05关注My question is where do i build my database with the tables and rows etc just like in phpmyadmin?
You can connect to the RDS instance created by beanstalk using a Database Management Client Tool like MySQL Workbench, Heidi SQL & etc using the DNS name, created for RDS instance. However one challenge you will face is to access the RDS instance from your client machine, since its not a good practice to make the Database publicly accessible. You can create a EC2 instance (Windows or Linux with GUI) inside the same VPC, connect to it (Remote Desktop or SSH) and install the tools so that you can use the tools inside the server, to connect to the RDS instance.
I figured that "upload and deploy" means upload the php file i made but when i do i get an error saying "health degraded"
To understand the structure in code inside the Zip file, I would recommend to create a Beanstalk environment with a sample project available in Beanstalk and download the sample project artifact (Zip file) from S3 so that you can compare the project structure requirements.
If you prefer to go through the documentation, you can refer this. If nothing goes well, connect to the ElasticBeanstalk provisioned EC2 instance (Either using Remote Desktop for Windows or SSH to linux) and investigate the deployed artifacts.
本回答被题主选为最佳回答 , 对您是否有帮助呢? 本回答被专家选为最佳回答 , 对您是否有帮助呢? 本回答被题主和专家选为最佳回答 , 对您是否有帮助呢?解决 无用评论 打赏举报微信扫一扫点击复制链接分享编辑预览轻敲空格完成输入- 显示为
- 卡片
- 标题
- 链接
评论按下Enter换行,Ctrl+Enter发表内容
- 显示为
- 卡片
- 标题
- 链接
报告相同问题?
- 2017-11-09 03:30回答 1 已采纳 Long time has past since I used Beanstalk, so I'm a bit rusty on the details. But basic idea is as
- 2017-04-04 16:45回答 1 已采纳 What I ended up doing was using cloudfront, pointing my www.website.com to the cloudfront site, se
- 2017-02-13 08:41回答 1 已采纳 Another approach here instead of using a procfile etc would be to cross-compile your binary (usual
- 2020-04-06 04:28danpob13624的博客 通常,您不知道是谁引入了哪些更改或如何在临时环境中重现该更改以测试未来的更改。 为了解决此问题,AWS开发了CloudFormation,以将您的基础架构定义置于源代码控制之下,并使其易于开发。 这使您的团队能够在...
- 2017-12-06 19:31回答 1 已采纳 ElasticBeanstalk deployments are considered immutable post-deployment, so you will probably have t
- 2015-05-24 14:20回答 2 已采纳 I think import "github.com/rdegges/ipify-api/api" is being built from the copy on Github, not from
- 2016-03-19 07:10回答 1 已采纳 The best choice would be to use docker. Here are the steps to deploy your application to Elastic
- 2020-05-01 13:35danpob13624的博客 通常,您不知道是谁引入了哪些更改或如何在临时环境中重现它以测试未来的更改。 为了解决此问题,AWS开发了CloudFormation,以将您的基础架构定义置于源代码控制之下,并使其易于开发。 这使您的团队能够在临时...
- 2013-02-05 06:37回答 2 已采纳 It runs composer.phar install on every deploy. If you put your composer.lock file into your reposi
- 2019-05-10 14:25回答 1 已采纳 Alright! After a few migraines and screaming at my keyboard, I have figured out what was going on.
- 2016-07-26 11:13回答 1 已采纳 I am using this successfully in an Elastic Beanstalk application. Just put the following into your
- 2020-08-31 14:38culi4814的博客 owin 怎么部署在云中 目录 ( Table of Contents) Introduction to Cloud Servers 云服务器简介 Heroku Heroku Make a small change 做出一点零钱 Database, Caching &am...
- 2019-08-13 01:20【AWS-Solutions-Associate V17.35.zip】是一个包含最新AWS Solutions Architect Associate考试题目...在实际应用中,结合AWS最佳实践,不断学习和更新知识,是成为一名合格的AWS Solutions Architect不可或缺的步骤。
- 2017-05-13 02:07- **定义**:Elastic Beanstalk是一种易于使用的服务,可以部署和扩展应用程序。 - **应用场景**: - 快速部署Web应用程序。 - 自动化应用程序扩展过程。 ##### 3. **Amazon DynamoDB** - **定义**:DynamoDB...
- 没有解决我的问题, 去提问
悬赏问题
- ¥15 PADS Logic 原理图
- ¥15 PADS Logic 图标
- ¥15 电脑和power bi环境都是英文如何将日期层次结构转换成英文
- ¥20 气象站点数据求取中~
- ¥15 如何获取APP内弹出的网址链接
- ¥15 wifi 图标不见了 不知道怎么办 上不了网 变成小地球了
- 京ICP备19004658号
- 经营性网站备案信息
- 公安备案号11010502030143
- 营业执照
- 北京互联网违法和不良信息举报中心
- 家长监护
- 中国互联网举报中心
- 网络110报警服务
- Chrome商店下载
- 账号管理规范
- 版权与免责声明
- 版权申诉
- 出版物许可证
- ©1999-2025北京创新乐知网络技术有限公司