# |
Sep 18th 2019, 11:43 |
adam282 |
Even then, we don’t do anything involving sensitive data so we’re good |
# |
Sep 18th 2019, 11:43 |
spriz |
most incidents could have been avoided if "you were not stupid", but humans happen |
# |
Sep 18th 2019, 11:42 |
adam282 |
True that. I have one very VERY junior developer that I am teaching that does work for me but he’s done well so far as to not let credentials out. |
# |
Sep 18th 2019, 11:42 |
spriz |
Or you're bringing in juniors :) |
# |
Sep 18th 2019, 11:42 |
adam282 |
Sure, if you’re stupid or have no idea what you’re doing. |
# |
Sep 18th 2019, 11:42 |
spriz |
it takes a few steps in the wrong direction and you have some security credentials bleeding all of the place by mistake :thinking_face: |
# |
Sep 18th 2019, 11:41 |
alexdd55976 |
great to hear that. 8) |
# |
Sep 18th 2019, 11:41 |
spriz |
Having things online while developing it sounds scary to me :,) |
# |
Sep 18th 2019, 11:40 |
adam282 |
I am not new to this. I am a DevOps Engineer and have more than 20 years in the industry, I am not some new developer |
# |
Sep 18th 2019, 11:39 |
adam282 |
Just a remote dev server. No prod. |
# |
Sep 18th 2019, 11:38 |
alexdd55976 |
ok, if this is possible... i hope its not remote AND on production server :) |
# |
Sep 18th 2019, 11:37 |
adam282 |
I don’t like developing locally. Makes it easier this way so I can show the customer or another developer the progress. I haven’t developed locally in many, many years. |
# |
Sep 18th 2019, 11:37 |
alexdd55976 |
@adam282 i would invest the time to get everythring done locally, so no surprises later on the server |
# |
Sep 18th 2019, 11:36 |
adam282 |
Now that it’s 4:35A local time and I have to be up in 8 hours for my normal job, I am heading to bed. Thanks again, I appreciate it. |
# |
Sep 18th 2019, 11:36 |
adam282 |
Anyways, I fixed my issue temporarily. I added a `session_destroy();` at the top of the routine and the same for the sign out. |
# |
Sep 18th 2019, 11:35 |
alexdd55976 |
all easy |
# |
Sep 18th 2019, 11:35 |
alexdd55976 |
relax guys |
# |
Sep 18th 2019, 11:35 |
adam282 |
Dude, seriously? I can’t read minds. |
# |
Sep 18th 2019, 11:35 |
adam282 |
Yes you are correct |
# |
Sep 18th 2019, 11:31 |
conehead |
That is pretty much what I ment. But be careful what you say before tells you that you know nothing ;) |
# |
Sep 18th 2019, 11:30 |
alexdd55976 |
you can emulate aws locally.. just fyi... |
# |
Sep 18th 2019, 11:14 |
adam282 |
I am sure the issue is server related. Thank you all for your help and looking at my code, I appreciate it. |
# |
Sep 18th 2019, 11:12 |
adam282 |
`But there is something wrong if you cannot test your code locally` - My response was `There is nothing wrong about not being able to test locally when I am using an AWS RDS instance that does not have public access enabled for security reasons` |
# |
Sep 18th 2019, 11:12 |
conehead |
That is where something is wrong already |
# |
Sep 18th 2019, 11:12 |
conehead |
i am not even talking about aws |
# |
Sep 18th 2019, 11:11 |
adam282 |
AWS RDS instances are not always configured for public access and for good reason. An AWS RDS instance is a hosted database server that’s separate from the compute (EC2) instance where the code is actually being served from. My local copy cannot access the RDS instance because it does not have a public IP address. The code is being hosted on an AWS EC2 compute instance with access to the database, which works just fine. |
# |
Sep 18th 2019, 11:10 |
conehead |
Yes you are. COMPLETELY different |
# |
Sep 18th 2019, 11:10 |
adam282 |
You’re trying to tell me that because my local copy of my code does not have access to my AWS RDS instance means that I have something wrong. |
# |
Sep 18th 2019, 11:09 |
adam282 |
I am? |
# |
Sep 18th 2019, 11:09 |
conehead |
Not going to comment on this anymore. As you are comparing two different things |
# |
Sep 18th 2019, 11:09 |
conehead |
... |
# |
Sep 18th 2019, 11:08 |
adam282 |
Okay, I apologize. You do not know how AWS works |
# |
Sep 18th 2019, 11:08 |
adam282 |
Not trying to be rude |
# |
Sep 18th 2019, 11:08 |
conehead |
... |
# |
Sep 18th 2019, 11:08 |
adam282 |
Then you do not understand how servers work man |
# |
Sep 18th 2019, 11:07 |
conehead |
Imho there is |
# |
Sep 18th 2019, 11:07 |
adam282 |
There is nothing wrong about not being able to test locally when I am using an AWS RDS instance that does not have public access enabled for security reasons |
# |
Sep 18th 2019, 11:06 |
conehead |
I'd say the same. But there is something wrong if you cannot test your code locally |
# |
Sep 18th 2019, 11:06 |
neon1024 |
..but that’s probably fear of the unknown, as I’ve not used AWS, other than doing the Beanstalk tutorial |
# |
Sep 18th 2019, 11:06 |
slackebot |
<conehead> |
# |
Sep 18th 2019, 11:05 |
neon1024 |
Developing directly on AWS is where I’d point my finger |